mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
fixed a typo;
This commit is contained in:
parent
a3502ebb4f
commit
aad2ab398a
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ PIXI.DisplayObjectContainer.prototype._renderCanvas = function (renderSession) {
|
|||
Object.defineProperty(PIXI.DisplayObjectContainer.prototype, 'width', {
|
||||
|
||||
get: function() {
|
||||
return this.getLocalBounds().width + this.scale.x;
|
||||
return this.getLocalBounds().width * this.scale.x;
|
||||
},
|
||||
|
||||
set: function(value) {
|
||||
|
|
Loading…
Reference in a new issue