회전 시 길이 계산 반영 안되는 현상 수정
This commit is contained in:
parent
f77794ceed
commit
3c702cf5f3
@ -315,6 +315,7 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
|
|||||||
// console.log('yInversion', yInversion) //좌우반전
|
// console.log('yInversion', yInversion) //좌우반전
|
||||||
|
|
||||||
changeSurfaceLineType(batchSurface)
|
changeSurfaceLineType(batchSurface)
|
||||||
|
setPolygonLinesActualSize(batchSurface, true)
|
||||||
|
|
||||||
if (setIsHidden) setIsHidden(false)
|
if (setIsHidden) setIsHidden(false)
|
||||||
})
|
})
|
||||||
@ -1670,6 +1671,7 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
|
|||||||
drawDirectionArrow(currentObject)
|
drawDirectionArrow(currentObject)
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
changeSurfaceLineType(currentObject)
|
changeSurfaceLineType(currentObject)
|
||||||
|
setPolygonLinesActualSize(currentObject, true)
|
||||||
currentObject.dirty = true
|
currentObject.dirty = true
|
||||||
currentObject.setCoords()
|
currentObject.setCoords()
|
||||||
canvas.renderAll()
|
canvas.renderAll()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user