0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-02-07 19:06:26 -05:00

Body.setStatic no longer sets render.lineWidth to 1

This commit is contained in:
A Happy Cat 2014-07-16 19:23:15 -05:00
parent 6e1ab9a24c
commit 7c2b885023

View file

@ -126,7 +126,6 @@ var Body = {};
body.friction = 1; body.friction = 1;
body.mass = body.inertia = body.density = Infinity; body.mass = body.inertia = body.density = Infinity;
body.inverseMass = body.inverseInertia = 0; body.inverseMass = body.inverseInertia = 0;
body.render.lineWidth = 1;
body.positionPrev.x = body.position.x; body.positionPrev.x = body.position.x;
body.positionPrev.y = body.position.y; body.positionPrev.y = body.position.y;