aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Tools/ControlManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Tools/ControlManager.cs')
-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);
}