mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Merge pull request #65911 from EliasVincent/light-theme-palette-text-fix
color of Command Palette shortcut text not visible in Light theme
This commit is contained in:
commit
f9e4785e48
@ -130,7 +130,7 @@ void EditorCommandPalette::_update_command_search(const String &search_text) {
|
||||
ti->set_metadata(0, entries[i].key_name);
|
||||
ti->set_text_alignment(1, HORIZONTAL_ALIGNMENT_RIGHT);
|
||||
ti->set_text(1, shortcut_text);
|
||||
Color c = Color(1, 1, 1, 0.5);
|
||||
Color c = get_theme_color(SNAME("font_color"), SNAME("Editor")) * Color(1, 1, 1, 0.5);
|
||||
ti->set_custom_color(1, c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user