This pull request is to fix the offset problem caused by #375.
375 fixed the problem of exporting images on high DPI devices by multiplying the image width, height and transform by the devicePixelRatio. But it also multiplied the offset by the devicePixelRatio, which caused some workflows with large offsets to not be correctly displayed in the center of the exported image.
This pull request is to fix the offset problem caused by #375.
375 fixed the problem of exporting images on high DPI devices by multiplying the image
width
,height
andtransform
by thedevicePixelRatio
. But it also multiplied theoffset
by thedevicePixelRatio
, which caused some workflows with large offsets to not be correctly displayed in the center of the exported image.