line 전부 제거
This commit is contained in:
parent
9ae441fff6
commit
7649655b17
@ -361,9 +361,7 @@ export function useMode() {
|
||||
|
||||
// 모든 라인 객체를 캔버스에서 제거합니다.
|
||||
lines.forEach((line) => {
|
||||
if (line.type === 'line') {
|
||||
canvas?.remove(line)
|
||||
}
|
||||
canvas?.remove(line)
|
||||
})
|
||||
|
||||
// 점 배열을 사용하여 새로운 다각형 객체를 생성합니다.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user