diff 2로 수정

This commit is contained in:
hyojun.choi 2026-01-09 17:28:02 +09:00
parent 1ccabd3efb
commit c4b03c6745

View File

@ -1982,7 +1982,7 @@ export const usePolygon = () => {
const line1 = allRoofLines[i]
const line2 = allRoofLines[j]
const diff = Math.abs(line1.length - line2.length)
if (diff > 0 && diff <= 1) {
if (diff > 0 && diff <= 2) {
const minLength = Math.min(line1.length, line2.length)
line1.setLengthByValue(minLength * 10)
line2.setLengthByValue(minLength * 10)