diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-05 01:41:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 01:41:27 +0200 |
commit | 0f8ee1d256c2bc7dc7bafc32e8137644bcc4a8ae (patch) | |
tree | 5d4722f07450c606b6328a9cb78ff31486f6e941 | |
parent | 174c14762fd38f8a8f0a04f69a5fdf3f81fc1b75 (diff) | |
parent | e7e4f41004abc495bd3da99e10b3e7fb131b93cb (diff) |
Merge pull request #60161 from V-Sekai/instanced_children_color
Make editable children use warning color instead of disabled color
-rw-r--r-- | editor/scene_tree_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index aa48395152..2f5a4ba04c 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -236,7 +236,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(); |