- 회로번호 폰트 적용

This commit is contained in:
김민식 2025-02-11 16:47:58 +09:00
parent a62fa9f95c
commit e55863475e

View File

@ -113,8 +113,6 @@ export default function StepUp(props) {
const moduleCircuitText = new fabric.Text(module.circuit, {
left: targetModule.left + targetModule.width / 2,
top: targetModule.top + targetModule.height / 2,
fill: 'black',
fontSize: 20,
fontFamily: circuitNumberText.fontFamily.value,
fontWeight: circuitNumberText.fontWeight.value.toLowerCase().includes('bold') ? 'bold' : 'normal',
fontStyle: circuitNumberText.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',