2
0
Эх сурвалжийг харах

Merge pull request #13959 from groud/editable_rulers_colors

Makes editable the guides color
Rémi Verschelde 7 жил өмнө
parent
commit
1702a19bf0

+ 1 - 1
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