fix png jpeg export (#25110)
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user