배치면 그리기 선택 시 기존 저장했던 point 제거
This commit is contained in:
parent
497cbc42d4
commit
6c94fdf1a1
@ -89,6 +89,10 @@ export function usePlacementShapeDrawing(id) {
|
||||
clear()
|
||||
}, [verticalHorizontalMode, points, adsorptionPointAddMode, adsorptionPointMode, adsorptionRange, interval, tempGridMode])
|
||||
|
||||
useEffect(() => {
|
||||
setPoints([])
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
arrow1Ref.current = arrow1
|
||||
}, [arrow1])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user