summaryrefslogtreecommitdiff
path: root/editor/property_editor.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/property_editor.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/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index ed90c8c4b2..fcae4c04fb 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -2433,7 +2433,7 @@ bool PropertyEditor::_is_drop_valid(const Dictionary &p_drag_data, const Diction
void PropertyEditor::_mark_drop_fields(TreeItem *p_at) {
if (_is_drop_valid(get_viewport()->gui_get_drag_data(), p_at->get_metadata(0)))
- p_at->set_custom_bg_color(1, Color(0.7, 0.5, 0.2), true);
+ p_at->set_custom_bg_color(1, get_color("accent_color", "Editor"), true);
if (p_at->get_children()) {
_mark_drop_fields(p_at->get_children());