Browse Source

This is also working too.

BDisp 5 years ago
parent
commit
9ca531cdbc
1 changed files with 1 additions and 1 deletions
  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;