clear 추가
This commit is contained in:
parent
11fec70ac2
commit
aaeccdb6dd
@ -703,6 +703,8 @@ export function useMode() {
|
|||||||
*/
|
*/
|
||||||
const handleClear = () => {
|
const handleClear = () => {
|
||||||
canvas?.clear()
|
canvas?.clear()
|
||||||
|
startPoint.current = null
|
||||||
|
setEndPoint(null)
|
||||||
points.current = []
|
points.current = []
|
||||||
historyPoints.current = []
|
historyPoints.current = []
|
||||||
historyLines.current = []
|
historyLines.current = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user