mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +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', {
|
Object.defineProperty(PIXI.DisplayObjectContainer.prototype, 'width', {
|
||||||
|
|
||||||
get: function() {
|
get: function() {
|
||||||
return this.getLocalBounds().width + this.scale.x;
|
return this.getLocalBounds().width * this.scale.x;
|
||||||
},
|
},
|
||||||
|
|
||||||
set: function(value) {
|
set: function(value) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue