Made the downloadable pngs 1200x1200
This commit is contained in:
parent
f159f7d22c
commit
3b50b39569
@ -73,7 +73,7 @@ export async function download_as_png (svg) {
|
|||||||
const opts = {
|
const opts = {
|
||||||
fitTo: {
|
fitTo: {
|
||||||
mode: 'width', // If you need to change the size
|
mode: 'width', // If you need to change the size
|
||||||
value: 400,
|
value: 1200,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const resvgJS = new resvg.Resvg(svgstr, opts)
|
const resvgJS = new resvg.Resvg(svgstr, opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user