diff 2로 수정
This commit is contained in:
parent
1ccabd3efb
commit
c4b03c6745
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user