Преглед изворни кода

Merge pull request #563 from BDisp/background-drawing

Fixes #562 background drawing issue.
Charlie Kindel пре 5 година
родитељ
комит
bdf50eb84c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Terminal.Gui/Core/Toplevel.cs

+ 1 - 1
Terminal.Gui/Core/Toplevel.cs

@@ -260,7 +260,7 @@ namespace Terminal.Gui {
 		{
 			Application.CurrentView = this;
 
-			if (IsCurrentTop) {
+			if (IsCurrentTop || this == Application.Top) {
 				if (NeedDisplay != null && !NeedDisplay.IsEmpty) {
 					Driver.SetAttribute (Colors.TopLevel.Normal);
 					Clear (region);