@leafer-draw/worker 1.0.0-rc.11 → 1.0.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/worker.esm.js +1 -1
- package/dist/worker.esm.min.js +1 -1
- package/dist/worker.js +1 -1
- package/dist/worker.min.js +1 -1
- package/dist/worker.module.js +1 -1
- package/dist/worker.module.min.js +1 -1
- package/package.json +6 -6
package/dist/worker.module.js
CHANGED
|
@@ -9374,7 +9374,7 @@ const ExportModule = {
|
|
|
9374
9374
|
width *= scale, height *= scale;
|
|
9375
9375
|
scaleX *= scale, scaleY *= scale;
|
|
9376
9376
|
}
|
|
9377
|
-
let canvas = Creator.canvas({ width: Math.ceil(width), height: Math.ceil(
|
|
9377
|
+
let canvas = Creator.canvas({ width: Math.ceil(width), height: Math.ceil(height), pixelRatio });
|
|
9378
9378
|
const renderOptions = { matrix: matrix.translate(-x, -y).withScale(scaleX, scaleY) };
|
|
9379
9379
|
if (slice) {
|
|
9380
9380
|
leaf = leafer;
|