mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-12 07:43:11 +00:00
Merge pull request #2790 from mochidusk/pr_styleDecl_refactor
Use internal _getStyleDeclaration method for style declarations.
This commit is contained in:
commit
053cbc3466
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
heightOfLine = this._getHeightOfLine(this.ctx, lineIndex);
|
||||
|
||||
for (var i = 0, len = chars.length; i < len; i++) {
|
||||
var styleDecl = this.styles[lineIndex][i] || { };
|
||||
var styleDecl = this._getStyleDeclaration(lineIndex, i) || { };
|
||||
|
||||
textSpans.push(
|
||||
this._createTextCharSpan(
|
||||
|
|
|
|||
Loading…
Reference in a new issue