fontsize 값 수정
This commit is contained in:
parent
63a965d118
commit
84e95a29df
@ -80,7 +80,7 @@ export function useMode() {
|
||||
distanceText = new fabric.Text(`${minDistance.toFixed(2)}`, {
|
||||
left: pointer.x,
|
||||
top: pointer.y,
|
||||
fontSize: 16,
|
||||
fontSize: fontSize,
|
||||
})
|
||||
canvas?.add(distanceText)
|
||||
}
|
||||
@ -217,7 +217,7 @@ export function useMode() {
|
||||
left: pointer.x,
|
||||
top: pointer.y,
|
||||
width: 150, // 텍스트박스의 너비를 설정합니다.
|
||||
fontSize: 16, // 텍스트의 크기를 설정합니다.
|
||||
fontSize: fontSize, // 텍스트의 크기를 설정합니다.
|
||||
})
|
||||
|
||||
canvas?.add(textbox)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user