Clear dummy DOM element used for Cufon rendering.

This commit is contained in:
kangax 2012-08-21 15:54:23 +02:00
parent 0bbaddf859
commit 9cde32897a
2 changed files with 4 additions and 0 deletions

2
dist/all.js vendored
View file

@ -12939,6 +12939,8 @@ fabric.Image.filters.Tint.fromObject = function(object) {
this._shadowOffsets = o.shadowOffsets;
this._shadows = o.shadows || [ ];
el = null;
// need to set coords _after_ the width/height was retreived from Cufon
this.setCoords();
},

View file

@ -235,6 +235,8 @@
this._shadowOffsets = o.shadowOffsets;
this._shadows = o.shadows || [ ];
el = null;
// need to set coords _after_ the width/height was retreived from Cufon
this.setCoords();
},