mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Fix UI setup bug.
This commit is contained in:
parent
6ec8e375c4
commit
0bc8eef195
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue