From 583f2ecd3e4285727c9e4e2a31799e7598c8f0db Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 10 May 2023 21:05:45 +0200 Subject: [PATCH] u02: Implement preview for star It is fixed to a star with 5 spikes, but better than a circle. --- u02/src/star_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u02/src/star_tool.cpp b/u02/src/star_tool.cpp index e306784..1e6b19f 100644 --- a/u02/src/star_tool.cpp +++ b/u02/src/star_tool.cpp @@ -42,7 +42,7 @@ std::vector> star(int n, float r1, float r2, int x, } star_tool::star_tool(canvas_buffer &canvas) : tool_base(canvas) { - shape = TS_CIRCLE; // TODO: Use star for preview + shape = TS_STAR; } void star_tool::draw(int x0, int y0, int x1, int y1) {