Skip to content

Commit

Permalink
🐛 (admin) keep selection when exporting mobile version
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Sep 17, 2024
1 parent 90212a3 commit 0d058bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adminSiteClient/EditorExportTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ export class EditorExportTab<
grapher = new Grapher({
...this.grapher,
staticFormat: format,
selectedEntityNames:
this.grapher.selection.selectedEntityNames,
})
}
const { blob: pngBlob, svgBlob } = await grapher.rasterize()
Expand Down

0 comments on commit 0d058bb

Please sign in to comment.