summaryrefslogtreecommitdiff
path: root/editor/editor_themes.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-21 21:08:21 +0200
committerGitHub <noreply@github.com>2019-08-21 21:08:21 +0200
commit923ef2662542f8ec882c2f3cc01f773a3e94fdb3 (patch)
tree284f689384c8d3e888e0124debf82f5af6e9dae5 /editor/editor_themes.cpp
parent99980d856bf2581ff7b86e50067a0f8814442834 (diff)
parente1b9004b0f1560c4c66e7682334cf870851ebd5c (diff)
Merge pull request #31538 from Calinou/filedialog-rename-folder-icon-color
Rename FileDialog's folder icon custom color to `folder_icon_modulate`
Diffstat (limited to 'editor/editor_themes.cpp')
-rw-r--r--editor/editor_themes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index d962001b38..56eed96e31 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -1068,7 +1068,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_icon("folder", "FileDialog", theme->get_icon("Folder", "EditorIcons"));
// Use a different color for folder icons to make them easier to distinguish from files.
// On a light theme, the icon will be dark, so we need to lighten it before blending it with the accent color.
- theme->set_color("folder", "FileDialog", (dark_theme ? Color(1, 1, 1) : Color(5, 5, 5)).linear_interpolate(accent_color, 0.7));
+ theme->set_color("folder_icon_modulate", "FileDialog", (dark_theme ? Color(1, 1, 1) : Color(5, 5, 5)).linear_interpolate(accent_color, 0.7));
theme->set_color("files_disabled", "FileDialog", font_color_disabled);
// color picker