From ad8bd77bf45b5778d92d8760ee1e79aa52327b24 Mon Sep 17 00:00:00 2001 From: graphieros Date: Mon, 25 Nov 2024 19:43:08 +0100 Subject: [PATCH] Atom - PenAndPaper - Actually use the smoothing function --- src/atoms/PenAndPaper.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atoms/PenAndPaper.vue b/src/atoms/PenAndPaper.vue index 2e6497d7..06156748 100644 --- a/src/atoms/PenAndPaper.vue +++ b/src/atoms/PenAndPaper.vue @@ -202,7 +202,7 @@ function stopDrawing() { if (isDrawing.value) { stack.value.push({ strokeWidth: strokeWidth.value, - path: currentPath.value, + path: optimizeSvgPath(smoothPath(currentPath.value)), color: currentColor.value }); redoStack.value = [];