summaryrefslogtreecommitdiff
path: root/editor/create_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-26 08:03:00 +0200
committerGitHub <noreply@github.com>2017-09-26 08:03:00 +0200
commit777f26fe29718a6609bea84f693ae96d8f22a01c (patch)
tree19c12dfbbfc2c1dd7dfc5649b26988ea8b5bcdd0 /editor/create_dialog.cpp
parent1da6b4d1d1a2154fba85f5a37f958d333347ab10 (diff)
parentb622c92fad36ef7c8cfb84f7e0de188557808ee0 (diff)
Merge pull request #11597 from djrm/pr_interface_colors
Removed most of the custom colors from the interface.
Diffstat (limited to 'editor/create_dialog.cpp')
-rw-r--r--editor/create_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp
index bb5f5e9175..0305013776 100644
--- a/editor/create_dialog.cpp
+++ b/editor/create_dialog.cpp
@@ -165,7 +165,7 @@ void CreateDialog::add_type(const String &p_type, HashMap<String, TreeItem *> &p
TreeItem *item = search_options->create_item(parent);
item->set_text(0, p_type);
if (!ClassDB::can_instance(p_type)) {
- item->set_custom_color(0, Color(0.5, 0.5, 0.5));
+ item->set_custom_color(0, get_color("disabled_font_color", "Editor"));
item->set_selectable(0, false);
} else {