From aaeccdb6dd27bef817599b77991e4ee4c39eb83d Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Fri, 26 Jul 2024 17:11:01 +0900 Subject: [PATCH] =?UTF-8?q?clear=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useMode.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/useMode.js b/src/hooks/useMode.js index 249984c7..8261fa31 100644 --- a/src/hooks/useMode.js +++ b/src/hooks/useMode.js @@ -703,6 +703,8 @@ export function useMode() { */ const handleClear = () => { canvas?.clear() + startPoint.current = null + setEndPoint(null) points.current = [] historyPoints.current = [] historyLines.current = []