You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
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