mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 22:24:56 +00:00
Restore the default focus mode for MenuButton and LinkButton, since it is different from the default of BaseButton.
This commit is contained in:
@@ -129,6 +129,7 @@ MenuButton::MenuButton() {
|
||||
set_flat(true);
|
||||
set_toggle_mode(true);
|
||||
set_disable_shortcuts(false);
|
||||
set_enabled_focus_mode(FOCUS_NONE);
|
||||
set_process_unhandled_key_input(true);
|
||||
set_action_mode(ACTION_MODE_BUTTON_PRESS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user