Merge pull request '[2173] ship 후속 수정 — const __raw 과잉 주석처리 복원' (#937) from dev into prd-deploy
Reviewed-on: #937
This commit is contained in:
commit
b8c7ddc742
@ -6733,7 +6733,7 @@ export const equalizeSymmetricHips = (hipLines, canvas) => {
|
|||||||
text.set({ planeSize: plane, actualSize: actual })
|
text.set({ planeSize: plane, actualSize: actual })
|
||||||
const isPlane = !text.actualSize || text.text === String(text.planeSize)
|
const isPlane = !text.actualSize || text.text === String(text.planeSize)
|
||||||
// planeSize/actualSize 모두 저장값(정수 또는 0.5 step) 그대로 표시.
|
// planeSize/actualSize 모두 저장값(정수 또는 0.5 step) 그대로 표시.
|
||||||
// const __raw = isPlane ? plane : actual
|
const __raw = isPlane ? plane : actual
|
||||||
text.set({ text: Number(__raw).toFixed(1).replace(/\.0$/, '') })
|
text.set({ text: Number(__raw).toFixed(1).replace(/\.0$/, '') })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -6805,7 +6805,7 @@ export const equalizeParallelEaveLabels = (lines, canvas) => {
|
|||||||
}
|
}
|
||||||
if (text) {
|
if (text) {
|
||||||
text.set({ planeSize: plane, actualSize: actual })
|
text.set({ planeSize: plane, actualSize: actual })
|
||||||
// const __raw = wasPlane ? plane : actual
|
const __raw = wasPlane ? plane : actual
|
||||||
text.set({ text: Number(__raw).toFixed(1).replace(/\.0$/, '') })
|
text.set({ text: Number(__raw).toFixed(1).replace(/\.0$/, '') })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user