Hide Control focus when given via mouse input
This commit is contained in:
@ -952,7 +952,7 @@ void AnimationNodeStateMachineEditor::_state_machine_draw() {
|
||||
travel_path = playback->get_travel_path();
|
||||
}
|
||||
|
||||
if (state_machine_draw->has_focus()) {
|
||||
if (state_machine_draw->has_focus(true)) {
|
||||
state_machine_draw->draw_rect(Rect2(Point2(), state_machine_draw->get_size()), theme_cache.focus_color, false);
|
||||
}
|
||||
int sep = 3 * EDSCALE;
|
||||
|
||||
Reference in New Issue
Block a user