use run on idle less
This commit is contained in:
parent
3824583acd
commit
54d29b41f7
5 changed files with 85 additions and 103 deletions
|
|
@ -192,7 +192,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
if (isDirty)
|
||||
{
|
||||
// doing this during draw will often result in a enumeration changed
|
||||
UiThread.RunOnIdle(RebuildContentSection);
|
||||
RebuildContentSection();
|
||||
}
|
||||
|
||||
base.OnDraw(graphics2D);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue