mirror of
https://github.com/wassname/phaser.git
synced 2026-07-10 00:30:50 +08:00
Switch Camera.setBoundsToWorld to match world.bounds instead of world
This commit is contained in:
+1
-1
@@ -244,7 +244,7 @@ Phaser.Camera.prototype = {
|
||||
|
||||
setBoundsToWorld: function () {
|
||||
|
||||
this.bounds.setTo(this.game.world.x, this.game.world.y, this.game.world.width, this.game.world.height);
|
||||
this.bounds.setTo(this.game.world.bounds.x, this.game.world.bounds.y, this.game.world.bounds.width, this.game.world.bounds.height);
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user