#1523 보조선 길이 업데이트 오류 수정

This commit is contained in:
hyojun.choi 2026-03-09 10:34:53 +09:00
parent d4cca0a54d
commit 942470dc76

View File

@ -84,12 +84,12 @@ export default function AuxiliarySize(props) {
//1 2 , 2 1 .
if (checkedRadio === 1) {
const newX2 = Big(x1).plus(dx.times(scaleFactor))
const newY2 = Big(y1).plus(dy.times(scaleFactor))
const newX2 = Big(x1).plus(dx.times(scaleFactor)).toNumber()
const newY2 = Big(y1).plus(dy.times(scaleFactor)).toNumber()
currentObject.set({ x2: newX2, y2: newY2 })
} else if (checkedRadio === 2) {
const newX1 = Big(x2).minus(dx.times(scaleFactor))
const newY1 = Big(y2).minus(dy.times(scaleFactor))
const newX1 = Big(x2).minus(dx.times(scaleFactor)).toNumber()
const newY1 = Big(y2).minus(dy.times(scaleFactor)).toNumber()
currentObject.set({ x1: newX1, y1: newY1 })
}
//planeSize actualSize .