Explorar o código

Fixing a bug.

BDisp %!s(int64=5) %!d(string=hai) anos
pai
achega
fb317622ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Terminal.Gui/Core/Toplevel.cs

+ 1 - 1
Terminal.Gui/Core/Toplevel.cs

@@ -276,7 +276,7 @@ namespace Terminal.Gui {
 				s = ((Toplevel)SuperView).StatusBar != null;
 			}
 			if (SuperView == null || SuperView is Toplevel) {
-				l = s ? Frame.Height - 1 : Frame.Height;
+				l = s ? Driver.Rows - 1 : Driver.Rows;
 			} else {
 				l = s ? SuperView.Frame.Height - 1 : SuperView.Frame.Height;
 			}