diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-18 00:40:06 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-18 00:40:06 +0200 |
commit | f9e4785e481725123235cd9417b6b0d9faa5085c (patch) | |
tree | d22e29a493602b0789fc2ac6aaea1dca5548d77d | |
parent | bdec3e424ada4128c4e8148ec0e369e766729472 (diff) | |
parent | 52a4327c47469965e1a3e9b394828150c2dcdda5 (diff) |
Merge pull request #65911 from EliasVincent/light-theme-palette-text-fix
color of Command Palette shortcut text not visible in Light theme
-rw-r--r-- | editor/editor_command_palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_command_palette.cpp b/editor/editor_command_palette.cpp index ba1f2fd6af..a0913265eb 100644 --- a/editor/editor_command_palette.cpp +++ b/editor/editor_command_palette.cpp @@ -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); } |