디버깅 삭제
This commit is contained in:
parent
6e8a4729fb
commit
8820711ac6
@ -1071,9 +1071,9 @@ export function useModuleBasicSetting(tabNum) {
|
|||||||
// }
|
// }
|
||||||
} else {
|
} else {
|
||||||
//디버깅용
|
//디버깅용
|
||||||
tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
|
// tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
|
||||||
canvas?.add(tempModule)
|
// canvas?.add(tempModule)
|
||||||
canvas.renderAll()
|
// canvas.renderAll()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isInstall) {
|
if (isInstall) {
|
||||||
@ -1940,9 +1940,9 @@ export function useModuleBasicSetting(tabNum) {
|
|||||||
// }
|
// }
|
||||||
} else {
|
} else {
|
||||||
//디버깅용
|
//디버깅용
|
||||||
tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
|
// tempModule.set({ fill: 'transparent', stroke: 'red', strokeWidth: 1 })
|
||||||
canvas?.add(tempModule)
|
// canvas?.add(tempModule)
|
||||||
canvas.renderAll()
|
// canvas.renderAll()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -482,10 +482,11 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
|||||||
stroke: 'black',
|
stroke: 'black',
|
||||||
strokeWidth: 1,
|
strokeWidth: 1,
|
||||||
originX: 'center',
|
originX: 'center',
|
||||||
originY: 'center',
|
originY: 'top',
|
||||||
fontSize: lengthTextFont.fontSize.value,
|
fontSize: lengthTextFont.fontSize.value,
|
||||||
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
||||||
fontWeight: lengthTextFont.fontWeight.value,
|
fontWeight: lengthTextFont.fontWeight.value,
|
||||||
|
angle: originAngle,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -620,15 +621,20 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
|||||||
|
|
||||||
//각도 추가
|
//각도 추가
|
||||||
|
|
||||||
|
let originAngle = 0 //기본 남쪽
|
||||||
let direction = 'south'
|
let direction = 'south'
|
||||||
|
|
||||||
if (directionRef === 'left') {
|
if (directionRef === 'left') {
|
||||||
//서
|
//서
|
||||||
|
originAngle = 90
|
||||||
direction = 'west'
|
direction = 'west'
|
||||||
} else if (directionRef === 'right') {
|
} else if (directionRef === 'right') {
|
||||||
//동
|
//동
|
||||||
|
originAngle = 270
|
||||||
direction = 'east'
|
direction = 'east'
|
||||||
} else if (directionRef === 'up') {
|
} else if (directionRef === 'up') {
|
||||||
//북
|
//북
|
||||||
|
originAngle = 180
|
||||||
direction = 'north'
|
direction = 'north'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -708,10 +714,11 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
|
|||||||
stroke: 'black',
|
stroke: 'black',
|
||||||
strokeWidth: 1,
|
strokeWidth: 1,
|
||||||
originX: 'center',
|
originX: 'center',
|
||||||
originY: 'center',
|
originY: 'top',
|
||||||
fontSize: lengthTextFont.fontSize.value,
|
fontSize: lengthTextFont.fontSize.value,
|
||||||
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
fontStyle: lengthTextFont.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
||||||
fontWeight: lengthTextFont.fontWeight.value,
|
fontWeight: lengthTextFont.fontWeight.value,
|
||||||
|
angle: originAngle,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user