浏览代码

Fixed SetCurrentOverlappedAsTop

Tig Kindel 1 年之前
父节点
当前提交
442f8e5a13
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Terminal.Gui/Views/ToplevelOverlapped.cs

+ 0 - 4
Terminal.Gui/Views/ToplevelOverlapped.cs

@@ -68,10 +68,6 @@ public static partial class Application {
 	static bool SetCurrentOverlappedAsTop ()
 	{
 		if (OverlappedTop == null && Current != Top && Current?.SuperView == null && Current?.Modal == false) {
-			if (Current.Frame != new Rect (0, 0, Driver.Cols, Driver.Rows)) {
-				// BUGBUG: Use Dim.Fill
-				Current.Frame = new Rect (0, 0, Driver.Cols, Driver.Rows);
-			}
 			Top = Current;
 			return true;
 		}