fix png jpeg export (#25110)
This commit is contained in:
parent
9040b534c8
commit
ebbb4a5d0b
1 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,8 @@ const ExportImage: FC = () => {
|
||||||
style: {
|
style: {
|
||||||
width: `${contentWidth}px`,
|
width: `${contentWidth}px`,
|
||||||
height: `${contentHeight}px`,
|
height: `${contentHeight}px`,
|
||||||
transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px) scale(${zoom})`,
|
transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px)`,
|
||||||
|
transformOrigin: 'top left',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue