Compare commits
No commits in common. "6d1f0b88a7b2a6b9de7939afc07d344851e1d046" and "5531aa809a365cedab744f2a55693aa4f3a28b07" have entirely different histories.
6d1f0b88a7
...
5531aa809a
@ -1155,13 +1155,6 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
|
||||
drawDirectionArrow(newPolygon)
|
||||
newPolygon.setCoords()
|
||||
changeSurfaceLineType(newPolygon)
|
||||
// [SIZE-RESIZE-PLANESIZE 2026-06-08] サイズ変更 시 좌표는 새 크기로 갱신되지만 initLines 가 옛 attributes
|
||||
// (planeSize=구 길이) 를 그대로 물려줘 라벨이 stale 하게 남던 문제. 변경된 새 좌표 길이로 planeSize 를
|
||||
// 강제 재계산 후 actualSize/라벨 재생성 (최초 생성 경로 line 302/320 과 동일하게 맞춤).
|
||||
newPolygon.lines.forEach((line) => {
|
||||
line.attributes.planeSize = line.getLength()
|
||||
})
|
||||
setPolygonLinesActualSize(newPolygon, true)
|
||||
canvas?.renderAll()
|
||||
closeAll()
|
||||
addPopup(popupId, 1, <SizeSetting id={popupId} side={side} target={newPolygon} />)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user