Skip to content

Commit 04a097e

Browse files
committed
fix: Add missing fillStyle to drawStroke function
1 parent 551fed8 commit 04a097e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/hooks/canvas/useDrawingOperation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export const useDrawingOperation = (
8888

8989
// 스타일 설정
9090
ctx.strokeStyle = style.color;
91+
ctx.fillStyle = style.color;
9192
ctx.lineWidth = style.width;
9293
ctx.lineCap = 'round';
9394
ctx.lineJoin = 'round';

0 commit comments

Comments
 (0)