diff options
| author | Michael <[email protected]> | 2017-04-14 19:08:25 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-14 19:08:25 -0400 |
| commit | 0bc8eef195e7da04ea89481ede327bf37d591659 (patch) | |
| tree | 9c66f8bc6feb4e32ddcff7e7589678e4e8cb9f91 | |
| parent | 6ec8e375c4b756bcd323df6babd4a4a74cd75904 (diff) | |
| download | shiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.tar.gz shiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.tar.bz2 shiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.zip | |
Fix UI setup bug.
| -rw-r--r-- | ShiftOS.WinForms/Tools/ControlManager.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs index 1c6f40c..d12e54a 100644 --- a/ShiftOS.WinForms/Tools/ControlManager.cs +++ b/ShiftOS.WinForms/Tools/ControlManager.cs @@ -146,7 +146,6 @@ namespace ShiftOS.WinForms.Tools { Desktop.InvokeOnWorkerThread(new Action(() => { - SuspendDrawing(ctrl); ctrl.SuspendLayout(); })); if (!(ctrl is MenuStrip) && !(ctrl is ToolStrip) && !(ctrl is StatusStrip) && !(ctrl is ContextMenuStrip)) @@ -247,7 +246,6 @@ namespace ShiftOS.WinForms.Tools MakeDoubleBuffered(ctrl); ctrl.ResumeLayout(); - ResumeDrawing(ctrl); }); ControlSetup?.Invoke(ctrl); } |
