You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #10300 from H4kor/anchor
Show Anchor even when Control-Node is hidden
This commit is contained in:
@@ -2324,13 +2324,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()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user