mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-04 20:04:45 +00:00
Merge pull request #1628 from asturur/text-export-fpr-groups
Update text.class.js
This commit is contained in:
commit
cefc838e90
1 changed files with 2 additions and 2 deletions
|
|
@ -849,8 +849,8 @@
|
|||
: (this.height/2) - (textLines.length * this.fontSize) - this._totalLineHeight;
|
||||
|
||||
return {
|
||||
textLeft: textLeft + (this.group ? this.left : 0),
|
||||
textTop: textTop + (this.group ? this.top : 0),
|
||||
textLeft: textLeft + (this.group && this.group.type === 'path-group' ? this.left : 0),
|
||||
textTop: textTop + (this.group && this.group.type === 'path-group' ? this.top : 0),
|
||||
lineTop: lineTop
|
||||
};
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue