mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add focus font color to Button and derivatives
This commit is contained in:
@@ -70,7 +70,11 @@ void OptionButton::_notification(int p_what) {
|
||||
clr = get_color("font_color_disabled");
|
||||
break;
|
||||
default:
|
||||
clr = get_color("font_color");
|
||||
if (has_focus()) {
|
||||
clr = get_color("font_color_focus");
|
||||
} else {
|
||||
clr = get_color("font_color");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user