Showing anchor icon in editor if control-node is hidden (fixes #9542)
This commit is contained in:
parent
23f6d3fa69
commit
07809c162f
1 changed files with 4 additions and 7 deletions
|
@ -2079,13 +2079,10 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||
}
|
||||
}
|
||||
|
||||
bool show_anchor = all_control && has_control;
|
||||
if (show_anchor != anchor_menu->is_visible()) {
|
||||
if (show_anchor)
|
||||
anchor_menu->show();
|
||||
else
|
||||
anchor_menu->hide();
|
||||
}
|
||||
if (all_control && has_control)
|
||||
anchor_menu->show();
|
||||
else
|
||||
anchor_menu->hide();
|
||||
|
||||
for (Map<ObjectID, BoneList>::Element *E = bone_list.front(); E; E = E->next()) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue