mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
parent
2753d333f6
commit
aeb3a45c97
53 changed files with 229 additions and 105 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue