@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.
@@ -1206,6 +1206,9 @@ async function createNodePainter(opts) {
1206
1206
  canvas.height = wantH;
1207
1207
  }
1208
1208
  ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
1209
+ ctx.save();
1210
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
1211
+ ctx.restore();
1209
1212
  if (op.bg && op.bg.color) {
1210
1213
  const { color, opacity, radius } = op.bg;
1211
1214
  if (color) {