Use `this._texture.X`to instead of`this.texture.X` (#3480)
In get/set width/height method , we don't need use  `this.texture` .

We could use `this._texture.X`to instead of`this.texture.X` , and it could offer a bit little performance gains.
1 parent fb87753 commit 1d7d10dc2019c7369ebcc7fde3cae1e148fbf1e5
@finscn finscn authored on 23 Dec 2016
Matt Karl committed on 23 Dec 2016
Showing 1 changed file
View
src/core/sprites/Sprite.js