mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Merge pull request #1957 from bixi/temp
Fix p2 BodyDebug pixelsPerLengthUnit bug.
This commit is contained in:
commit
0bad5e4ab2
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Phaser.Physics.P2.BodyDebug = function(game, body, settings) {
|
|||
* @private
|
||||
*/
|
||||
var defaultSettings = {
|
||||
pixelsPerLengthUnit: 20,
|
||||
pixelsPerLengthUnit: game.physics.p2.mpx(1),
|
||||
debugPolygons: false,
|
||||
lineWidth: 1,
|
||||
alpha: 0.5
|
||||
|
|
Loading…
Reference in a new issue