mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-10 22:24:29 +00:00
Added the ability to revert to initial value in editor settings.
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user