diff options
| author | brian cully <bjc@spork.org> | 2025-12-29 10:52:06 -0500 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2025-12-29 10:52:06 -0500 |
| commit | cecc5da127f5b28801eea91ce4932ca8883aefef (patch) | |
| tree | 16e480d3b3f49222fa1e0b0dd71cad167c1a2716 /src/state.rs | |
| parent | 8a95b3c2949ff14dd940c32a077c7a856197239f (diff) | |
| download | polyring-cecc5da127f5b28801eea91ce4932ca8883aefef.tar.gz polyring-cecc5da127f5b28801eea91ce4932ca8883aefef.zip | |
rainbow the pure, too
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 2 |
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; |
