@shotstack/shotstack-canvas 1.1.3 → 1.1.4
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/entry.node.cjs +0 -3
- package/dist/entry.node.cjs.map +1 -1
- package/dist/entry.node.js +0 -3
- package/dist/entry.node.js.map +1 -1
- package/package.json +1 -1
package/dist/entry.node.js
CHANGED
|
@@ -1168,9 +1168,6 @@ async function createNodePainter(opts) {
|
|
|
1168
1168
|
canvas.height = wantH;
|
|
1169
1169
|
}
|
|
1170
1170
|
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
1171
|
-
ctx.save();
|
|
1172
|
-
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
|
1173
|
-
ctx.restore();
|
|
1174
1171
|
if (op.bg && op.bg.color) {
|
|
1175
1172
|
const { color, opacity, radius } = op.bg;
|
|
1176
1173
|
if (color) {
|