Focus mode for everything but mouse clicks #13234
Closed
YuriNikolai
started this conversation in
GUI
Replies: 1 comment 1 reply
-
|
Thanks for the proposal! Consolidating in #6577. This was implemented by godotengine/godot#110250, which was merged today and will be in 4.6. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a few projects where it is not desired to have any visual focus indicator while clicking the UI, but I still want a focus indicator to be available only for keyboard and gamepad accessibility. Currently the only default modes are "the node cannot grab focus", "the node can only grab focus on mouse clicks", and "the node can grab focus on mouse click, using the arrows and the Tab keys on the keyboard, or using the D-pad buttons on a gamepad".
Possible workarounds are either keeping all focus modes on 'none' until Tab is pressed, stealing the focus away whenever it is switched by means of a mouseclick, or keeping all focus modes on 'none' unless a setting is ticked.
It's cumbersome, but rather than just wanting an easier way of doing this, I think a mode where we don't have GUI focus until the user specifically uses the feature is very reasonable and useful in many cases. This would be just a focus mode that uses arrow keys, Tab or gamepad buttons, but not mouse clicks.
Beta Was this translation helpful? Give feedback.
All reactions