Forráskód Böngészése

Fixes #3423. v1 - Wizards scenario doesn't refresh after opened by mouse.

BDisp 1 éve
szülő
commit
cf35c58a0f
1 módosított fájl, 1 hozzáadás és 3 törlés
  1. 1 3
      Terminal.Gui/Core/Application.cs

+ 1 - 3
Terminal.Gui/Core/Application.cs

@@ -1040,9 +1040,7 @@ namespace Terminal.Gui {
 			if (refreshDriver) {
 				MdiTop?.OnChildLoaded (toplevel);
 				toplevel.OnLoaded ();
-				Redraw (toplevel);
-				toplevel.PositionCursor ();
-				Driver.Refresh ();
+				Refresh ();
 			}
 
 			NotifyNewRunState?.Invoke (rs);