mirror of
https://github.com/godotengine/godot.git
synced 2024-11-11 14:43:44 +00:00
Revert "Allow tab key to be used for shortcuts"
This reverts commit cafb888361
.
Fixes #34405.
Reopens #8799, #24064.
This commit is contained in:
parent
4f18c134b9
commit
3d6f991a17
@ -2407,12 +2407,12 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
||||
|
||||
Input *input = Input::get_singleton();
|
||||
|
||||
if (!mods && p_event->is_action_pressed("ui_focus_next") && input->is_action_just_pressed("ui_focus_next")) {
|
||||
if (p_event->is_action_pressed("ui_focus_next") && input->is_action_just_pressed("ui_focus_next")) {
|
||||
|
||||
next = from->find_next_valid_focus();
|
||||
}
|
||||
|
||||
if (!mods && p_event->is_action_pressed("ui_focus_prev") && input->is_action_just_pressed("ui_focus_prev")) {
|
||||
if (p_event->is_action_pressed("ui_focus_prev") && input->is_action_just_pressed("ui_focus_prev")) {
|
||||
|
||||
next = from->find_prev_valid_focus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user