This commit is contained in:
Charlie Kindel
2020-05-21 20:01:01 -06:00
parent d34dfc5d78
commit 86e0a7adb9

View File

@@ -1650,7 +1650,7 @@ namespace Terminal.Gui {
int l = m ? 1 : 0;
ny = Math.Max (y, l);
if (SuperView == null || SuperView.GetType() != typeof(Toplevel))
s = Application.Top.HasStatusBar;
s = Application.Top.StatusBar != null;
else
s = ((Toplevel)SuperView).StatusBar != null;
l = s ? Driver.Rows - 1 : Driver.Rows;