Просмотр исходного кода

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

BDisp 1 год назад
Родитель
Сommit
cf35c58a0f
1 измененных файлов с 1 добавлено и 3 удалено
  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);