Skip to content

Commit 394941c

Browse files
committed
Merge pull request #91281 from ckaiser/the-lightmode-struggle-continues
Fix disabled files in FileDialog using the wrong color
2 parents 16eb8db + 10e6be9 commit 394941c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/themes/editor_theme_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ void EditorThemeManager::_populate_standard_styles(const Ref<EditorTheme> &p_the
12911291
// Use a different color for folder icons to make them easier to distinguish from files.
12921292
// On a light theme, the icon will be dark, so we need to lighten it before blending it with the accent color.
12931293
p_theme->set_color("folder_icon_color", "FileDialog", (p_config.dark_theme ? Color(1, 1, 1) : Color(4.25, 4.25, 4.25)).lerp(p_config.accent_color, 0.7));
1294-
p_theme->set_color("files_disabled", "FileDialog", p_config.font_disabled_color);
1294+
p_theme->set_color("file_disabled_color", "FileDialog", p_config.font_disabled_color);
12951295

12961296
// PopupDialog.
12971297
p_theme->set_stylebox("panel", "PopupDialog", p_config.popup_style);

0 commit comments

Comments
 (0)