Explorar el Código

This is also working too.

BDisp hace 5 años
padre
commit
9ca531cdbc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Terminal.Gui/Views/ScrollView.cs

+ 1 - 1
Terminal.Gui/Views/ScrollView.cs

@@ -556,7 +556,7 @@ namespace Terminal.Gui {
 		public bool ScrollDown (int lines)
 		public bool ScrollDown (int lines)
 		{
 		{
 			var ny = Math.Max (-contentSize.Height, contentOffset.Y - lines);
 			var ny = Math.Max (-contentSize.Height, contentOffset.Y - lines);
-			if (Math.Abs (ny) == contentSize.Height - 1)
+			if (ny == contentOffset.Y)
 				return false;
 				return false;
 			ContentOffset = new Point (contentOffset.X, ny);
 			ContentOffset = new Point (contentOffset.X, ny);
 			return true;
 			return true;