You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-02 19:01:36 +00:00
Fix empty_clicked signal when hide_root
fix
This commit is contained in:
@@ -3868,6 +3868,7 @@ void Tree::gui_input(const Ref<InputEvent> &p_event) {
|
||||
}
|
||||
|
||||
if (!root || (!root->get_first_child() && hide_root)) {
|
||||
emit_signal(SNAME("empty_clicked"), get_local_mouse_position(), mb->get_button_index());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user