Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
3d6f991a
Commit
3d6f991a
authored
Dec 18, 2019
by
Rémi Verschelde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Allow tab key to be used for shortcuts"
This reverts commit
cafb8883
. Fixes #34405. Reopens #8799, #24064.
parent
4f18c134
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
viewport.cpp
scene/main/viewport.cpp
+2
-2
No files found.
scene/main/viewport.cpp
View file @
3d6f991a
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment