You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add focus font color to Button and derivatives
This commit is contained in:
@@ -2894,7 +2894,11 @@ void TileMapEditor::_layers_selection_button_draw() {
|
||||
clr = get_theme_color(SNAME("font_disabled_color"));
|
||||
break;
|
||||
default:
|
||||
clr = get_theme_color(SNAME("font_color"));
|
||||
if (layers_selection_button->has_focus()) {
|
||||
clr = get_theme_color(SNAME("font_focus_color"));
|
||||
} else {
|
||||
clr = get_theme_color(SNAME("font_color"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user