mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Physics.bounds now correctly matches World.bounds on system start (thanks @Dumtard #1028)
This commit is contained in:
parent
afeeeecbe0
commit
d72e199291
2 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,7 @@ Version 2.0.7 - "Amadicia" - -in development-
|
|||
* The key is now reported when failing to parse a Sprite Sheet (thanks @lucbloom #1026)
|
||||
* An editorconfig has been added to the core repo. See http://editorconfig.org (thanks @codevinksy #1027)
|
||||
* Keyboard.processKeyPress now checks if the Keyboard Input handler is disabled or not before processing the key callbacks.
|
||||
* Physics.bounds now correctly matches World.bounds on system start (thanks @Dumtard #1028)
|
||||
|
||||
### New Features
|
||||
|
||||
|
|
|
@ -153,6 +153,8 @@ Phaser.Physics.prototype = {
|
|||
throw new Error('The Chipmunk physics system has not been implemented yet.');
|
||||
}
|
||||
|
||||
this.setBoundsToWorld();
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue