mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-10 17:30:59 +00:00
Tweak iText after PR
This commit is contained in:
parent
4a967b7ddf
commit
512b0186c8
1 changed files with 9 additions and 4 deletions
|
|
@ -929,11 +929,16 @@
|
|||
styleDeclaration.fontStyle = this.fontStyle;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {Number} lineIndex
|
||||
* @param {Number} charIndex
|
||||
*/
|
||||
_getStyleDeclaration: function(lineIndex, charIndex) {
|
||||
return (this.styles[lineIndex] && this.styles[lineIndex][charIndex])
|
||||
? clone(this.styles[lineIndex][charIndex])
|
||||
: { };
|
||||
return (this.styles[lineIndex] && this.styles[lineIndex][charIndex])
|
||||
? clone(this.styles[lineIndex][charIndex])
|
||||
: { };
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue