Show disabled item with proper color on FileDialog of editor theme
Fix #8635
This commit is contained in:
parent
5b3709d309
commit
ea78bcbe60
@ -413,6 +413,11 @@ Ref<Theme> create_editor_theme() {
|
|||||||
theme->set_stylebox("comment", "GraphNode", graphsbcomment);
|
theme->set_stylebox("comment", "GraphNode", graphsbcomment);
|
||||||
theme->set_stylebox("commentfocus", "GraphNode", graphsbcommentselected);
|
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;
|
return theme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user