feature/jaeyoung #46

Merged
LEE_JAEYOUNG merged 58 commits from feature/jaeyoung into dev 2025-05-21 13:53:44 +09:00
Showing only changes of commit 92c33c9c11 - Show all commits

View File

@ -949,7 +949,8 @@ export const usePolygon = () => {
//polygonLines에서 divideLines를 제거하고 newLines를 추가한다.
newLines = newLines.filter((line) => !(Math.abs(line.startPoint.x - line.endPoint.x) < 1 && Math.abs(line.startPoint.y - line.endPoint.y) < 1))
polygonLines = polygonLines.filter((line) => line.intersections?.length === 0)
polygonLines = polygonLines.filter((line) => !line.intersections || line.intersections.length === 0)
polygonLines = [...polygonLines, ...newLines]