aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Tools
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-14 19:08:25 -0400
committerMichael <[email protected]>2017-04-14 19:08:25 -0400
commit0bc8eef195e7da04ea89481ede327bf37d591659 (patch)
tree9c66f8bc6feb4e32ddcff7e7589678e4e8cb9f91 /ShiftOS.WinForms/Tools
parent6ec8e375c4b756bcd323df6babd4a4a74cd75904 (diff)
downloadshiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.tar.gz
shiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.tar.bz2
shiftos_thereturn-0bc8eef195e7da04ea89481ede327bf37d591659.zip
Fix UI setup bug.
Diffstat (limited to 'ShiftOS.WinForms/Tools')
-rw-r--r--ShiftOS.WinForms/Tools/ControlManager.cs2
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);
}