Skip to content

Commit 53b6d29

Browse files
committed
fix: square document
1 parent 301cf50 commit 53b6d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/figures/square-elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export const SquareElements = {
207207
return [element, fill]
208208
},
209209
centerCircle: (args: BasicFigureDrawArgs): [SVGElement, SVGElement] => {
210-
const { x, y, size } = args
210+
const { x, y, size, document } = args
211211

212212
const circleRadius = size / 2.5
213213
const cx = x + size / 2

0 commit comments

Comments
 (0)