Merge pull request #110895 from Giganzo/input-focus

Add setting for when to show the focus state for mouse input
This commit is contained in:
Thaddeus Crews 2025-10-21 19:09:25 -05:00
commit e870cd911b
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
6 changed files with 12 additions and 8 deletions

View file

@ -1706,7 +1706,7 @@ ProjectSettings::ProjectSettings() {
#endif
GLOBAL_DEF_BASIC("gui/common/snap_controls_to_pixels", true);
GLOBAL_DEF("gui/common/always_show_focus_state", false);
GLOBAL_DEF(PropertyInfo(Variant::INT, "gui/common/show_focus_state_on_pointer_event", PROPERTY_HINT_ENUM, "Never,Control Supports Keyboard Input,Always"), 1);
GLOBAL_DEF_BASIC("gui/fonts/dynamic_fonts/use_oversampling", true);
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/vsync/frame_queue_size", PROPERTY_HINT_RANGE, "2,3,1"), 2);