mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-26 13:49:01 -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