aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorDaniel J. Ramirez2017-09-24 22:26:41 -0500
committerDaniel J. Ramirez2017-09-24 22:29:59 -0500
commit5676c42ae02f995b7915edc8afe3de9a73ebecfc (patch)
tree302ad8d9ce2fd78d0dcf94ec29b6316e5726321f /editor/property_editor.cpp
parentc4aa634b8a31e7ff86c934b4b90533e7d02735ee (diff)
downloadgodot-5676c42ae02f995b7915edc8afe3de9a73ebecfc.tar.gz
godot-5676c42ae02f995b7915edc8afe3de9a73ebecfc.tar.zst
godot-5676c42ae02f995b7915edc8afe3de9a73ebecfc.zip
Added the ability to revert to initial value in editor settings.
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 19f674c39..81bd45048 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -2958,7 +2958,7 @@ void PropertyEditor::update_tree() {
item->set_metadata(1, p.name);
if (draw_red)
- item->set_custom_color(0, Color(0.8, 0.4, 0.20));
+ item->set_custom_color(0, get_color("error_color", "Editor"));
if (p.name == selected_property) {