Procházet zdrojové kódy

This is also working too.

BDisp před 5 roky
rodič
revize
9ca531cdbc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;