diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-05 09:23:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 09:23:52 +0100 |
commit | 1702a19bf0ba38a2ce2fe484cbfeb521e3aac917 (patch) | |
tree | 2017c5f15b3ea02f002cdb82c7e414b35dea52f0 | |
parent | 7c0de08d386222cb7074c9406047b728ed0e2701 (diff) | |
parent | 6c32629758eaeb6c015c7bc350de17e4c715ec5a (diff) |
Merge pull request #13959 from groud/editable_rulers_colors
Makes editable the guides color
-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 184ac5d798..a3e2e6eb52 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 = Color(0.6, 0.0, 0.8); + Color guide_color = EDITOR_DEF("editors/2d/rulers_color", Color(0.6, 0.0, 0.8)); Transform2D xform = viewport_scrollable->get_transform() * transform; // Guides already there |