- console.log 제거

This commit is contained in:
김민식 2025-02-14 16:18:42 +09:00
parent 312a34bd0b
commit ee913ee782
2 changed files with 3 additions and 7 deletions

View File

@ -236,7 +236,6 @@ export default function PlacementSurfaceSetting({ id, pos = { x: 50, y: 230 } })
surfaceRefs.yInversion = yInversion //
surfaceRefs.rotate = rotate * 90 //
setIsHidden(true)
console.log('surfaceRefs', surfaceRefs)
applySurfaceShape(surfaceRefs, selectedType, id)
}

View File

@ -85,9 +85,6 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
canvas?.remove(...canvas?.getObjects().filter((obj) => obj.name === MENU.BATCH_CANVAS.SURFACE_SHAPE_BATCH_TEMP))
points = getSurfaceShape(surfaceId, pointer, { length1, length2, length3, length4, length5 })
console.log('surfaceRefs.xInversion', surfaceRefs.xInversion)
console.log('surfaceRefs.yInversion', surfaceRefs.yInversion)
console.log('surfaceRefs.rotate', surfaceRefs.rotate)
const { xInversion, yInversion, rotate } = surfaceRefs
const options = {
fill: 'transparent',
@ -102,9 +99,9 @@ export function useSurfaceShapeBatch({ isHidden, setIsHidden }) {
lockScalingX: true, // X 축 크기 조정 잠금
lockScalingY: true, // Y 축 크기 조정 잠금
name: MENU.BATCH_CANVAS.SURFACE_SHAPE_BATCH_TEMP,
flipX: xInversion !== yInversion ? surfaceRefs.yInversion : false,
flipY: xInversion !== yInversion ? surfaceRefs.xInversion : false,
angle: xInversion && yInversion ? Math.abs((surfaceRefs.rotate + 180) % 360) : Math.abs(surfaceRefs.rotate),
flipX: xInversion !== yInversion ? yInversion : false,
flipY: xInversion !== yInversion ? xInversion : false,
angle: xInversion && yInversion ? Math.abs((rotate + 180) % 360) : Math.abs(rotate),
originX: 'center',
originY: 'center',
pitch: globalPitch,