From cecc5da127f5b28801eea91ce4932ca8883aefef Mon Sep 17 00:00:00 2001 From: brian cully Date: Mon, 29 Dec 2025 10:52:06 -0500 Subject: rainbow the pure, too --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index c2f7848..3b5e235 100644 --- a/src/state.rs +++ b/src/state.rs @@ -89,8 +89,8 @@ impl State { for p in iter { self.ctx.begin_path(); self.ctx.move_to(last.x, last.y); - self.ctx.line_to(p.x, p.y); self.ctx.set_stroke_style_str(&last.color); + self.ctx.line_to(p.x, p.y); self.ctx.stroke(); last = p; -- cgit v1.3