Skip to content

Commit eed1995

Browse files
committed
Ensure donwload file measure. See #241
1 parent 49fbb63 commit eed1995

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/exporters/download.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import { createBackground } from '../utils/index.js';
1414
* @returns {Promise<void>}
1515
*/
1616
export async function download(url, options) {
17+
options.dpr = 1;
1718
if (options.format === 'svg') {
1819
const blob = await toBlob(url, { ...options, type: 'svg' });
1920
const objectURL = URL.createObjectURL(blob);

0 commit comments

Comments
 (0)