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
|
|
@ -493,7 +493,7 @@ void MenuBar::_draw_menu_item(int p_index) {
|
|||
style->draw(ci, item_rect);
|
||||
}
|
||||
// Focus colors only take precedence over normal state.
|
||||
if (has_focus()) {
|
||||
if (has_focus(true)) {
|
||||
color = theme_cache.font_focus_color;
|
||||
} else {
|
||||
color = theme_cache.font_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue