clear 추가

This commit is contained in:
hyojun.choi 2024-07-26 17:11:01 +09:00
parent 11fec70ac2
commit aaeccdb6dd

View File

@ -703,6 +703,8 @@ export function useMode() {
*/
const handleClear = () => {
canvas?.clear()
startPoint.current = null
setEndPoint(null)
points.current = []
historyPoints.current = []
historyLines.current = []