瀏覽代碼

Merge branch 'master' into expanded_TimeDate_scenario

Charlie Kindel 5 年之前
父節點
當前提交
c63fc8e8f4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Core.cs

+ 1 - 1
Terminal.Gui/Core.cs

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