mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Hide Control focus when given via mouse input
This commit is contained in:
@@ -279,7 +279,7 @@ void ScrollBar::_notification(int p_what) {
|
||||
area.height -= incr->get_height() + decr->get_height();
|
||||
}
|
||||
|
||||
if (has_focus()) {
|
||||
if (has_focus(true)) {
|
||||
theme_cache.scroll_focus_style->draw(ci, Rect2(ofs, area));
|
||||
} else {
|
||||
theme_cache.scroll_style->draw(ci, Rect2(ofs, area));
|
||||
|
||||
Reference in New Issue
Block a user