summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorSaracenOne <SaracenOne@gmail.com>2022-04-11 02:36:20 +0100
committerSaracenOne <SaracenOne@gmail.com>2022-04-11 02:36:20 +0100
commite7e4f41004abc495bd3da99e10b3e7fb131b93cb (patch)
tree0f1d11301165663eae304cde5b865a364041f93f /editor
parent83d26737727f281afcb33f66fea5d09ed6c48d5a (diff)
Make instance's editable children use warning color instead of disabled color
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp
index 44eb5c670d..d7ec13ac2c 100644
--- a/editor/scene_tree_editor.cpp
+++ b/editor/scene_tree_editor.cpp
@@ -229,7 +229,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent, bool p_scroll
}
} else if (part_of_subscene) {
if (valid_types.size() == 0) {
- item->set_custom_color(0, get_theme_color(SNAME("disabled_font_color"), SNAME("Editor")));
+ item->set_custom_color(0, get_theme_color(SNAME("warning_color"), SNAME("Editor")));
}
} else if (marked.has(p_node)) {
String node_name = p_node->get_name();