aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-29 10:52:06 -0500
committerbrian cully <bjc@spork.org>2025-12-29 10:52:06 -0500
commitcecc5da127f5b28801eea91ce4932ca8883aefef (patch)
tree16e480d3b3f49222fa1e0b0dd71cad167c1a2716 /src
parent8a95b3c2949ff14dd940c32a077c7a856197239f (diff)
downloadpolyring-cecc5da127f5b28801eea91ce4932ca8883aefef.tar.gz
polyring-cecc5da127f5b28801eea91ce4932ca8883aefef.zip
rainbow the pure, too
Diffstat (limited to 'src')
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
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;