You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #64768 from bruvzg/popups_hide_if_visible
This commit is contained in:
@@ -80,6 +80,11 @@ void EditorPath::_add_children_to_popup(Object *p_obj, int p_depth) {
|
||||
}
|
||||
|
||||
void EditorPath::_show_popup() {
|
||||
if (sub_objects_menu->is_visible()) {
|
||||
sub_objects_menu->hide();
|
||||
return;
|
||||
}
|
||||
|
||||
sub_objects_menu->clear();
|
||||
|
||||
Size2 size = get_size();
|
||||
|
||||
Reference in New Issue
Block a user