diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index 896cefc..7fa2218 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -189,9 +189,6 @@ { this.scale.y = this._height / this.texture.frame.height; } - - // reset bounds - this._currentBounds = null; }; /** @@ -216,6 +213,7 @@ { if(!this._currentBounds) { + var width = this._texture._frame.width; var height = this._texture._frame.height;