1
0
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:
Michael Alexsander
2025-09-03 20:39:18 -03:00
parent 2753d333f6
commit aeb3a45c97
53 changed files with 229 additions and 105 deletions

View File

@@ -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;