mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
fix bug when using timing.isFixed, closes #44
This commit is contained in:
parent
d249165ea9
commit
0933620b68
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ var Runner = {};
|
|||
(function render(time){
|
||||
var timing = engine.timing,
|
||||
delta,
|
||||
correction;
|
||||
correction = 1;
|
||||
|
||||
timing.frameRequestId = _requestAnimationFrame(render);
|
||||
|
||||
|
@ -123,4 +123,4 @@ var Runner = {};
|
|||
_cancelAnimationFrame(engine.timing.frameRequestId);
|
||||
};
|
||||
|
||||
})();
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue