Fix tab focus shortcut
This commit is contained in:
parent
284b50cf30
commit
d6fb7322fb
|
@ -1991,11 +1991,11 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
|
|||
if (from && p_event->is_pressed()) {
|
||||
Control *next = nullptr;
|
||||
|
||||
if (p_event->is_action_pressed("ui_focus_next", true, true)) {
|
||||
if (p_event->is_action("ui_focus_next", true)) {
|
||||
next = from->find_next_valid_focus();
|
||||
}
|
||||
|
||||
if (p_event->is_action_pressed("ui_focus_prev", true, true)) {
|
||||
if (p_event->is_action("ui_focus_prev", true)) {
|
||||
next = from->find_prev_valid_focus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue