mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix issue #2123
This commit is contained in:
parent
6020386bbe
commit
cc3ce1ccf0
@ -200,7 +200,7 @@ export class CanvasRenderer extends Renderer {
|
|||||||
this.ctx.shadowColor = asString(textShadow.color);
|
this.ctx.shadowColor = asString(textShadow.color);
|
||||||
this.ctx.shadowOffsetX = textShadow.offsetX.number * this.options.scale;
|
this.ctx.shadowOffsetX = textShadow.offsetX.number * this.options.scale;
|
||||||
this.ctx.shadowOffsetY = textShadow.offsetY.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);
|
this.renderTextWithLetterSpacing(text, styles.letterSpacing, baseline);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user