Skip to content

Commit 0bad5e4

Browse files
committed
Merge pull request phaserjs#1957 from bixi/temp
Fix p2 BodyDebug pixelsPerLengthUnit bug.
2 parents fc83dc6 + 632c258 commit 0bad5e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/p2/BodyDebug.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Phaser.Physics.P2.BodyDebug = function(game, body, settings) {
3030
* @private
3131
*/
3232
var defaultSettings = {
33-
pixelsPerLengthUnit: 20,
33+
pixelsPerLengthUnit: game.physics.p2.mpx(1),
3434
debugPolygons: false,
3535
lineWidth: 1,
3636
alpha: 0.5

0 commit comments

Comments
 (0)