mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
avoid charspacing shortcut (#4594)
This commit is contained in:
parent
4846789bf0
commit
df48f43f14
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@
|
|||
charBox,
|
||||
boxWidth = 0,
|
||||
timeToRender,
|
||||
shortCut = !isJustify && this.isEmptyStyles(lineIndex);
|
||||
shortCut = !isJustify && this.charSpacing === 0 && this.isEmptyStyles(lineIndex);
|
||||
|
||||
ctx.save();
|
||||
top -= lineHeight * this._fontSizeFraction / this.lineHeight;
|
||||
|
|
|
|||
Loading…
Reference in a new issue