Explorar o código

This is also working too.

BDisp %!s(int64=5) %!d(string=hai) anos
pai
achega
9ca531cdbc
Modificáronse 1 ficheiros con 1 adicións e 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)
 		{
 			var ny = Math.Max (-contentSize.Height, contentOffset.Y - lines);
-			if (Math.Abs (ny) == contentSize.Height - 1)
+			if (ny == contentOffset.Y)
 				return false;
 			ContentOffset = new Point (contentOffset.X, ny);
 			return true;