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
|
|
@ -99,7 +99,7 @@ void AnimationTreeEditor::_update_path() {
|
|||
b->set_toggle_mode(true);
|
||||
b->set_button_group(group);
|
||||
b->set_pressed(true);
|
||||
b->set_focus_mode(FOCUS_NONE);
|
||||
b->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
b->connect(SceneStringName(pressed), callable_mp(this, &AnimationTreeEditor::_path_button_pressed).bind(-1));
|
||||
path_hb->add_child(b);
|
||||
for (int i = 0; i < button_path.size(); i++) {
|
||||
|
|
@ -110,7 +110,7 @@ void AnimationTreeEditor::_update_path() {
|
|||
b->set_button_group(group);
|
||||
path_hb->add_child(b);
|
||||
b->set_pressed(true);
|
||||
b->set_focus_mode(FOCUS_NONE);
|
||||
b->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
b->connect(SceneStringName(pressed), callable_mp(this, &AnimationTreeEditor::_path_button_pressed).bind(i));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue