You've already forked godot
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:
@@ -275,7 +275,7 @@ ShaderFileEditor::ShaderFileEditor() {
|
||||
for (int i = 0; i < RD::SHADER_STAGE_MAX; i++) {
|
||||
Button *button = memnew(Button(stage_str[i]));
|
||||
button->set_toggle_mode(true);
|
||||
button->set_focus_mode(FOCUS_NONE);
|
||||
button->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
stage_hb->add_child(button);
|
||||
stages[i] = button;
|
||||
button->set_button_group(bg);
|
||||
|
||||
Reference in New Issue
Block a user