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
|
|
@ -174,7 +174,7 @@ void AnimationNodeBlendTreeEditor::update_graph() {
|
|||
if (!read_only) {
|
||||
Button *delete_button = memnew(Button);
|
||||
delete_button->set_flat(true);
|
||||
delete_button->set_focus_mode(FOCUS_NONE);
|
||||
delete_button->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
delete_button->set_button_icon(get_editor_theme_icon(SNAME("Close")));
|
||||
delete_button->set_accessibility_name(TTRC("Delete"));
|
||||
delete_button->connect(SceneStringName(pressed), callable_mp(this, &AnimationNodeBlendTreeEditor::_delete_node_request).bind(E), CONNECT_DEFERRED);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue