mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Merge pull request #250 from cocoademon/camera_bounds_fix
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