Merge pull request #8861 from volzhs/editor-theme-filedialog

Show disabled item with proper color on FileDialog of editor theme
This commit is contained in:
Rémi Verschelde 2017-05-22 15:16:39 +02:00 committed by GitHub
commit 712fcbebfb

View File

@ -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;
}