浏览代码

Merge pull request #13959 from groud/editable_rulers_colors

Makes editable the guides color
Rémi Verschelde 7 年之前
父节点
当前提交
1702a19bf0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/canvas_item_editor_plugin.cpp

+ 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