@effing/canvas 0.41.0 → 0.41.1

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/index.js CHANGED
@@ -3721,7 +3721,7 @@ async function drawNode(ctx, node, parentX, parentY, context, emojiStyle) {
3721
3721
  const sx = scaleInfo.sx;
3722
3722
  const sy = scaleInfo.sy;
3723
3723
  const transformWithoutScale = scaleInfo.remaining;
3724
- const bleed = Math.max(1, subtree.overflowBleed);
3724
+ const bleed = Math.max(1, Math.ceil(subtree.overflowBleed));
3725
3725
  const qx = Math.max(1, Math.ceil(Math.abs(sx)));
3726
3726
  const qy = Math.max(1, Math.ceil(Math.abs(sy)));
3727
3727
  const bufW = Math.ceil((width + 2 * bleed) * qx);