Skip to content

Commit ad8bd77

Browse files
committed
Atom - PenAndPaper - Actually use the smoothing function
1 parent d0e9941 commit ad8bd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/atoms/PenAndPaper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function stopDrawing() {
202202
if (isDrawing.value) {
203203
stack.value.push({
204204
strokeWidth: strokeWidth.value,
205-
path: currentPath.value,
205+
path: optimizeSvgPath(smoothPath(currentPath.value)),
206206
color: currentColor.value
207207
});
208208
redoStack.value = [];

0 commit comments

Comments
 (0)