GuiWiget Children working as a SafeList
This commit is contained in:
parent
106db7e7f1
commit
58e77cfe60
40 changed files with 104 additions and 102 deletions
|
|
@ -360,7 +360,7 @@ namespace MatterHackers.MatterControl
|
|||
allowDisabledOrHidden: false);
|
||||
|
||||
// If the context changed, update the UI
|
||||
if (namedChildren.LastOrDefault()?.widget is GuiWidget firstUnderMouse
|
||||
if (namedChildren.LastOrDefault()?.Widget is GuiWidget firstUnderMouse
|
||||
&& firstUnderMouse != this.InspectedWidget)
|
||||
{
|
||||
this.InspectedWidget = firstUnderMouse;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue