From cc3ce1ccf0d36327e34ab70faecf9cf71faed13a Mon Sep 17 00:00:00 2001 From: Batiste Bieler Date: Sat, 24 Jun 2023 22:21:48 +0100 Subject: [PATCH] Fix issue #2123 --- src/render/canvas/canvas-renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/canvas/canvas-renderer.ts b/src/render/canvas/canvas-renderer.ts index 6efb648..2099adc 100644 --- a/src/render/canvas/canvas-renderer.ts +++ b/src/render/canvas/canvas-renderer.ts @@ -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); });