1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Change editor button focus mode to FOCUS_ACCESSIBILITY.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-23 12:46:50 +03:00
parent 42c7f14422
commit 22b5a2fc5c
31 changed files with 116 additions and 116 deletions

View File

@@ -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));
}
}