Skip to content

Commit

Permalink
see pr: niklasvh#3043
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 4a0f97b
Author: Cornelius Weiß <c.weiss@metaways.de>
Date:   Fri Apr 14 18:13:40 2023 +0200

    make hotfix branch includeable via webpack

commit 7a8d21a
Author: ccheng-dev <c.cheng@metaways.de>
Date:   Mon Mar 27 08:24:33 2023 +0200

    fix: intrinsicProportion is not a number
  • Loading branch information
nangelina committed Feb 9, 2024
1 parent 70e8d7f commit ead7147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/canvas/canvas-renderer.ts
Expand Up @@ -602,7 +602,7 @@ export class CanvasRenderer extends Renderer {
const [path, x, y, width, height] = calculateBackgroundRendering(container, index, [
image.width,
image.height,
image.width / image.height
isNaN(image.width / image.height) ? 1 : image.width / image.height
]);
const pattern = this.ctx.createPattern(
this.resizeImage(image, width, height),
Expand Down

0 comments on commit ead7147

Please sign in to comment.