summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-05-22 20:07:13 +0900
committervolzhs <volzhs@gmail.com>2017-05-22 20:07:13 +0900
commitea78bcbe60d41d8952702386f07cd72e31109018 (patch)
tree44dab83ca828151b7ca9d24df85e6575af9ed3a3
parent5b3709d3096df737b8bb2344446be818b0389bfe (diff)
Show disabled item with proper color on FileDialog of editor theme
Fix #8635
-rw-r--r--editor/editor_themes.cpp5
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;
}