mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-22 04:11:52 +00:00
Update text.class.js
Fixes exporting of text simple group. Thanks to Chris Buergi to make me notice
This commit is contained in:
parent
959bdcfdf4
commit
3b911a9882
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