디버깅 삭제

This commit is contained in:
yjnoh 2025-02-24 14:28:19 +09:00
parent 6e8a4729fb
commit 8820711ac6
2 changed files with 15 additions and 8 deletions

View File

@ -1071,9 +1071,9 @@ export function useModuleBasicSetting(tabNum) {
// }
} else {
//디버깅용
tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
canvas?.add(tempModule)
canvas.renderAll()
// tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
// canvas?.add(tempModule)
// canvas.renderAll()
}
}
if (isInstall) {
@ -1940,9 +1940,9 @@ export function useModuleBasicSetting(tabNum) {
// }
} else {
//디버깅용
tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
canvas?.add(tempModule)
canvas.renderAll()
// tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
// canvas?.add(tempModule)
// canvas.renderAll()
}
}

View File

@ -482,10 +482,11 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
stroke: 'black',
strokeWidth: 1,
originX: 'center',
originY: 'center',
originY: 'top',
fontSize: lengthTextFont.fontSize.value,
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
fontWeight: lengthTextFont.fontWeight.value,
angle: originAngle,
})
}
@ -620,15 +621,20 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
//각도 추가
let originAngle = 0 //기본 남쪽
let direction = 'south'
if (directionRef === 'left') {
//서
originAngle = 90
direction = 'west'
} else if (directionRef === 'right') {
//동
originAngle = 270
direction = 'east'
} else if (directionRef === 'up') {
//북
originAngle = 180
direction = 'north'
}
@ -708,10 +714,11 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
stroke: 'black',
strokeWidth: 1,
originX: 'center',
originY: 'center',
originY: 'top',
fontSize: lengthTextFont.fontSize.value,
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
fontWeight: lengthTextFont.fontWeight.value,
angle: originAngle,
})
}