Skip to content

Commit d1985c4

Browse files
fix(hiccup-canvas): fix "ellipse" shape handling (off-by-one error)
- update draw() to include last (CCW flag) shape arg - also related to #418
1 parent dec752b commit d1985c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/hiccup-canvas/src/draw.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ export const draw = (
9898
shape[3],
9999
shape[4],
100100
shape[5],
101-
shape[6]
101+
shape[6],
102+
shape[7]
102103
);
103104
break;
104105
case "arc":

0 commit comments

Comments
 (0)