You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Showing anchor icon in editor if control-node is hidden (fixes #9542)
This commit is contained in:
@@ -2079,13 +2079,10 @@ void CanvasItemEditor::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool show_anchor = all_control && has_control;
|
if (all_control && has_control)
|
||||||
if (show_anchor != anchor_menu->is_visible()) {
|
anchor_menu->show();
|
||||||
if (show_anchor)
|
else
|
||||||
anchor_menu->show();
|
anchor_menu->hide();
|
||||||
else
|
|
||||||
anchor_menu->hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
for (Map<ObjectID, BoneList>::Element *E = bone_list.front(); E; E = E->next()) {
|
for (Map<ObjectID, BoneList>::Element *E = bone_list.front(); E; E = E->next()) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user