소스 검색

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;
 		}