feature/jaeyoung #46
@ -722,7 +722,7 @@ export function useAuxiliaryDrawing(id, isUseEffect = true) {
|
||||
const distance1 = distanceBetweenPoints({ x: line1.x1, y: line1.y1 }, intersectionPoint)
|
||||
const distance2 = distanceBetweenPoints({ x: line1.x2, y: line1.y2 }, intersectionPoint)
|
||||
|
||||
if (distance1 === 0 || distance2 === 0) {
|
||||
if (distance1 < 1 || distance2 < 1) {
|
||||
return
|
||||
}
|
||||
//historyLine에서 기존 line을 제거한다.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user