aboutsummaryrefslogtreecommitdiff
path: root/editor/create_dialog.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-09-26 08:03:00 +0200
committerGitHub2017-09-26 08:03:00 +0200
commit777f26fe29718a6609bea84f693ae96d8f22a01c (patch)
tree19c12dfbbfc2c1dd7dfc5649b26988ea8b5bcdd0 /editor/create_dialog.cpp
parent1da6b4d1d1a2154fba85f5a37f958d333347ab10 (diff)
parentb622c92fad36ef7c8cfb84f7e0de188557808ee0 (diff)
downloadgodot-777f26fe29718a6609bea84f693ae96d8f22a01c.tar.gz
godot-777f26fe29718a6609bea84f693ae96d8f22a01c.tar.zst
godot-777f26fe29718a6609bea84f693ae96d8f22a01c.zip
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 bb5f5e917..030501377 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 {