@@ -917,7 +917,7 @@ void AnimationNodeStateMachineEditor::_state_machine_draw() {
917917 }
918918
919919 if (state_machine_draw->has_focus ()) {
920- state_machine_draw->draw_rect (Rect2 (Point2 (), state_machine_draw->get_size ()), theme_cache.highlight_color , false );
920+ state_machine_draw->draw_rect (Rect2 (Point2 (), state_machine_draw->get_size ()), theme_cache.focus_color , false );
921921 }
922922 int sep = 3 * EDSCALE;
923923
@@ -1642,6 +1642,7 @@ void AnimationNodeStateMachineEditor::_bind_methods() {
16421642 BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_COLOR, AnimationNodeStateMachineEditor, transition_icon_disabled_color, " transition_icon_disabled_color" , " GraphStateMachine" );
16431643 BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_COLOR, AnimationNodeStateMachineEditor, highlight_color, " highlight_color" , " GraphStateMachine" );
16441644 BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_COLOR, AnimationNodeStateMachineEditor, highlight_disabled_color, " highlight_disabled_color" , " GraphStateMachine" );
1645+ BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_COLOR, AnimationNodeStateMachineEditor, focus_color, " focus_color" , " GraphStateMachine" );
16451646 BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_COLOR, AnimationNodeStateMachineEditor, guideline_color, " guideline_color" , " GraphStateMachine" );
16461647
16471648 BIND_THEME_ITEM_EXT (Theme::DATA_TYPE_ICON, AnimationNodeStateMachineEditor, transition_icons[0 ], " TransitionImmediateBig" , " EditorIcons" );
0 commit comments