diff options
| author | Gilles Roudiere | 2017-12-05 21:42:33 +0100 |
|---|---|---|
| committer | Gilles Roudiere | 2017-12-05 21:44:52 +0100 |
| commit | 7b02f5591d2a4c4d2d7da723b1303a99b6c4f168 (patch) | |
| tree | c0b7cdaeb19bd866829ac9be45311fd0594d7e43 /editor/plugins | |
| parent | 9a96a2a06e2daacdcd90469c33e8f5f6dafa6958 (diff) | |
| download | godot-7b02f5591d2a4c4d2d7da723b1303a99b6c4f168.tar.gz godot-7b02f5591d2a4c4d2d7da723b1303a99b6c4f168.tar.zst godot-7b02f5591d2a4c4d2d7da723b1303a99b6c4f168.zip | |
Moves the guides colors to editor settings
Diffstat (limited to 'editor/plugins')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 79dde65a5..ddcdb5a32 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -2294,7 +2294,7 @@ void CanvasItemEditor::_draw_focus() { void CanvasItemEditor::_draw_guides() { - Color guide_color = EDITOR_DEF("editors/2d/guides_color", Color(0.6, 0.0, 0.8)); + Color guide_color = EditorSettings::get_singleton()->get("editors/2d/guides_color"); Transform2D xform = viewport_scrollable->get_transform() * transform; // Guides already there |
