diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-05-22 15:16:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-22 15:16:39 +0200 |
commit | 712fcbebfb619523cbca08fdba914f9d355222ee (patch) | |
tree | c3f60686504c223093c32fb24230f1507491ce15 /editor | |
parent | ce51138b38d00ff6ed13a58f8187f8b0f604bc30 (diff) | |
parent | ea78bcbe60d41d8952702386f07cd72e31109018 (diff) |
Merge pull request #8861 from volzhs/editor-theme-filedialog
Show disabled item with proper color on FileDialog of editor theme
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_themes.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index c7a41e4441..b88474e2c3 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -413,6 +413,11 @@ Ref<Theme> create_editor_theme() { theme->set_stylebox("comment", "GraphNode", graphsbcomment); theme->set_stylebox("commentfocus", "GraphNode", graphsbcommentselected); + // FileDialog + Color disable_color = light_color_2; + disable_color.a = 0.7; + theme->set_color("files_disabled", "FileDialog", disable_color); + return theme; } |