mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-09 14:24:44 +00:00
Update itext.class.js
This commit is contained in:
parent
2f19e25ef2
commit
9c41f0923d
1 changed files with 3 additions and 0 deletions
|
|
@ -657,6 +657,9 @@
|
|||
charWidth = this._applyCharStylesGetWidth(ctx, _char, lineIndex, i, decl || {});
|
||||
textDecoration = textDecoration || this.textDecoration;
|
||||
|
||||
if (decl && decl.textBackgroundColor) {
|
||||
this._removeShadow(ctx);
|
||||
}
|
||||
shouldFill && ctx.fillText(_char, left, top);
|
||||
shouldStroke && ctx.strokeText(_char, left, top);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue