mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-26 13:49:01 -05:00
fixed bug in Demo.reset that was creating multiple MouseConstraint
This commit is contained in:
parent
066a416ba5
commit
8204d9736a
1 changed files with 0 additions and 1 deletions
|
@ -1533,7 +1533,6 @@
|
|||
Bodies.rectangle(-offset, 300, 50.5, 600.5 + 2 * offset, { isStatic: true })
|
||||
]);
|
||||
|
||||
_mouseConstraint = MouseConstraint.create(_engine);
|
||||
World.add(_world, _mouseConstraint);
|
||||
|
||||
var renderOptions = _engine.render.options;
|
||||
|
|
Loading…
Reference in a new issue