1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Moves the guides colors to editor settings

This commit is contained in:
Gilles Roudiere
2017-12-05 21:42:33 +01:00
parent 9a96a2a06e
commit 7b02f5591d
2 changed files with 2 additions and 1 deletions

View File

@@ -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