Skip to content

Commit

Permalink
Fix issue niklasvh#2123
Browse files Browse the repository at this point in the history
  • Loading branch information
Batiste Bieler committed Jun 24, 2023
1 parent 6020386 commit cc3ce1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/canvas/canvas-renderer.ts
Expand Up @@ -200,7 +200,7 @@ export class CanvasRenderer extends Renderer {
this.ctx.shadowColor = asString(textShadow.color);
this.ctx.shadowOffsetX = textShadow.offsetX.number * this.options.scale;
this.ctx.shadowOffsetY = textShadow.offsetY.number * this.options.scale;
this.ctx.shadowBlur = textShadow.blur.number;
this.ctx.shadowBlur = textShadow.blur.number * this.options.scale;;

this.renderTextWithLetterSpacing(text, styles.letterSpacing, baseline);
});
Expand Down

0 comments on commit cc3ce1c

Please sign in to comment.