0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

fix bug when using timing.isFixed, closes #44

This commit is contained in:
liabru 2015-01-01 23:09:46 +00:00
parent d249165ea9
commit 0933620b68

View file

@ -42,7 +42,7 @@ var Runner = {};
(function render(time){ (function render(time){
var timing = engine.timing, var timing = engine.timing,
delta, delta,
correction; correction = 1;
timing.frameRequestId = _requestAnimationFrame(render); timing.frameRequestId = _requestAnimationFrame(render);
@ -123,4 +123,4 @@ var Runner = {};
_cancelAnimationFrame(engine.timing.frameRequestId); _cancelAnimationFrame(engine.timing.frameRequestId);
}; };
})(); })();