@shotstack/shotstack-canvas 1.1.4 → 1.1.5

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.
@@ -1168,6 +1168,9 @@ 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();
1171
1174
  if (op.bg && op.bg.color) {
1172
1175
  const { color, opacity, radius } = op.bg;
1173
1176
  if (color) {