From 81e959089e344d9443358c9f1eddc68c107187ef Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 21 Jun 2022 21:10:20 +0200 Subject: [PATCH] Better color for the visual grid. --- modules/paint/paint_canvas.cpp | 1 - modules/paint/paint_visual_grid.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/paint/paint_canvas.cpp b/modules/paint/paint_canvas.cpp index d3d7f965a..618c6ba14 100644 --- a/modules/paint/paint_canvas.cpp +++ b/modules/paint/paint_canvas.cpp @@ -622,7 +622,6 @@ PaintCanvas::PaintCanvas() { add_child(tool_preview_layer_rect); grid = memnew(PaintVisualGrid); - grid->color = Color(1, 1, 1, 1); grid->size = 4; grid->set_mouse_filter(Control::MOUSE_FILTER_IGNORE); add_child(grid); diff --git a/modules/paint/paint_visual_grid.cpp b/modules/paint/paint_visual_grid.cpp index fefef4ca5..511f040ca 100644 --- a/modules/paint/paint_visual_grid.cpp +++ b/modules/paint/paint_visual_grid.cpp @@ -100,7 +100,7 @@ void PaintVisualGrid::_notification(int p_what) { } PaintVisualGrid::PaintVisualGrid() { - color = Color(1, 1, 1, 1); + color = Color(1, 1, 1, 0.42); size = 16; zoom = 0; }