You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
fix certain popup close clicks with popup buttons
This commit is contained in:
@@ -111,6 +111,7 @@ MenuButton::MenuButton() {
|
||||
popup->hide();
|
||||
add_child(popup);
|
||||
popup->set_as_toplevel(true);
|
||||
popup->set_pass_on_modal_close_click(false);
|
||||
connect("button_up", popup, "call_deferred", make_binds("grab_click_focus"));
|
||||
set_process_unhandled_key_input(true);
|
||||
set_action_mode(ACTION_MODE_BUTTON_PRESS);
|
||||
|
||||
Reference in New Issue
Block a user