스크린샷 찍을 경우 0,0 을 기준으로 50% 축소
This commit is contained in:
parent
16432f94cd
commit
2b0df28ab9
@ -124,8 +124,8 @@ export default function CircuitTrestleSetting({ id }) {
|
||||
// 캡쳐 전 처리
|
||||
const beforeCapture = () => {
|
||||
// setCanvasZoom(100)
|
||||
const x = canvas.width / 2
|
||||
const y = canvas.height / 2
|
||||
const x = 0
|
||||
const y = 0
|
||||
canvas.zoomToPoint(new fabric.Point(x, y), 0.5)
|
||||
changeFontSize('lengthText', '28')
|
||||
changeFontSize('circuitNumber', '28')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user