[2173] ship 후속 수정 — const __raw 과잉 주석처리 복원
작업내용: - equalizeSymmetricHips(_apply): const __raw 주석 복원 (라인 6736) - equalizeParallelEaveLabels(_apply): const __raw 주석 복원 (라인 6808) - 원인: 이전 ship Python 정리 스크립트의 const __ 정규식이 디버그 변수가 아닌 활성 헬퍼까지 주석처리 Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
This commit is contained in:
parent
8c30c3c2bb
commit
d562d02413
@ -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