- 회로번호 폰트 적용
This commit is contained in:
parent
a62fa9f95c
commit
e55863475e
@ -113,8 +113,6 @@ export default function StepUp(props) {
|
|||||||
const moduleCircuitText = new fabric.Text(module.circuit, {
|
const moduleCircuitText = new fabric.Text(module.circuit, {
|
||||||
left: targetModule.left + targetModule.width / 2,
|
left: targetModule.left + targetModule.width / 2,
|
||||||
top: targetModule.top + targetModule.height / 2,
|
top: targetModule.top + targetModule.height / 2,
|
||||||
fill: 'black',
|
|
||||||
fontSize: 20,
|
|
||||||
fontFamily: circuitNumberText.fontFamily.value,
|
fontFamily: circuitNumberText.fontFamily.value,
|
||||||
fontWeight: circuitNumberText.fontWeight.value.toLowerCase().includes('bold') ? 'bold' : 'normal',
|
fontWeight: circuitNumberText.fontWeight.value.toLowerCase().includes('bold') ? 'bold' : 'normal',
|
||||||
fontStyle: circuitNumberText.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
fontStyle: circuitNumberText.fontWeight.value.toLowerCase().includes('italic') ? 'italic' : 'normal',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user