From ea78bcbe60d41d8952702386f07cd72e31109018 Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 22 May 2017 20:07:13 +0900 Subject: [PATCH] Show disabled item with proper color on FileDialog of editor theme Fix #8635 --- editor/editor_themes.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index c7a41e4441f..b88474e2c38 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -413,6 +413,11 @@ Ref 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; }