use run on idle less

This commit is contained in:
LarsBrubaker 2019-06-29 08:33:24 -07:00 committed by jlewin
parent 3824583acd
commit 54d29b41f7
5 changed files with 85 additions and 103 deletions

View file

@ -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);