Skip to content

Commit

Permalink
delete stylemap before wrapping text (#3546)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Dec 28, 2016
1 parent 998317b commit 93a7857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shapes/textbox.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
_splitTextIntoLines: function(ctx) {
ctx = ctx || this.ctx;
var originalAlign = this.textAlign;
this._styleMap = null;
ctx.save();
this._setTextStyles(ctx);
this.textAlign = 'left';
Expand Down

0 comments on commit 93a7857

Please sign in to comment.