Browse Source

Fixed SetCurrentOverlappedAsTop

Tig Kindel 1 year ago
parent
commit
442f8e5a13
1 changed files with 0 additions and 4 deletions
  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;
 		}