Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused

Hide `Control` focus when given via mouse input
This commit is contained in:
Thaddeus Crews 2025-09-22 13:28:44 -05:00
commit be421bcdd4
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
53 changed files with 229 additions and 105 deletions

View file

@ -861,7 +861,7 @@ void GraphEdit::_notification(int p_what) {
// Draw background fill.
draw_style_box(theme_cache.panel, Rect2(Point2(), get_size()));
if (has_focus()) {
if (has_focus(true)) {
draw_style_box(theme_cache.panel_focus, Rect2(Point2(), get_size()));
}