fix png jpeg export (#25110)

This commit is contained in:
znn
2025-09-04 08:35:45 +05:30
committed by GitHub
parent 9040b534c8
commit ebbb4a5d0b

View File

@@ -97,7 +97,8 @@ const ExportImage: FC = () => {
style: {
width: `${contentWidth}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',
},
}