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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue