Browse Source

fix png jpeg export (#25110)

tags/2.0.0-beta.1
znn 1 month ago
parent
commit
ebbb4a5d0b
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      web/app/components/workflow/operator/export-image.tsx

+ 2
- 1
web/app/components/workflow/operator/export-image.tsx 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',
},
}


Loading…
Cancel
Save