mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Change editor button focus mode to FOCUS_ACCESSIBILITY.
This commit is contained in:
parent
42c7f14422
commit
22b5a2fc5c
31 changed files with 116 additions and 116 deletions
|
|
@ -94,7 +94,7 @@ private:
|
|||
toggle_button->set_text(itos(message_count));
|
||||
toggle_button->set_accessibility_name(TTRGET(p_name));
|
||||
toggle_button->set_tooltip_text(TTRGET(p_tooltip));
|
||||
toggle_button->set_focus_mode(FOCUS_NONE);
|
||||
toggle_button->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
// When toggled call the callback and pass the MessageType this button is for.
|
||||
toggle_button->connect(SceneStringName(toggled), p_toggled_callback.bind(type));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue