You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
@@ -945,7 +945,7 @@ void TextEdit::_notification(int p_what) {
|
||||
theme_cache.style_readonly->draw(ci, Rect2(Point2(), size));
|
||||
draw_caret = is_drawing_caret_when_editable_disabled();
|
||||
}
|
||||
if (has_focus()) {
|
||||
if (has_focus(true)) {
|
||||
theme_cache.style_focus->draw(ci, Rect2(Point2(), size));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user