diff --git a/src/core/textures/Texture.js b/src/core/textures/Texture.js index de34745..2738486 100644 --- a/src/core/textures/Texture.js +++ b/src/core/textures/Texture.js @@ -190,7 +190,7 @@ this.crop = frame; } - if (this.valid) + if (this.valid) { this._updateUvs(); } @@ -224,7 +224,7 @@ this.frame = this._frame; } - this.emit( 'update', this ); + this.emit('update', this); }; Texture.prototype.onBaseTextureUpdated = function (baseTexture) @@ -232,7 +232,7 @@ this._frame.width = baseTexture.width; this._frame.height = baseTexture.height; - this.emit( 'update', this ); + this.emit('update', this); }; /**