Skip to content

Commit 0933620

Browse files
committed
fix bug when using timing.isFixed, closes #44
1 parent d249165 commit 0933620

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/Runner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var Runner = {};
4242
(function render(time){
4343
var timing = engine.timing,
4444
delta,
45-
correction;
45+
correction = 1;
4646

4747
timing.frameRequestId = _requestAnimationFrame(render);
4848

@@ -123,4 +123,4 @@ var Runner = {};
123123
_cancelAnimationFrame(engine.timing.frameRequestId);
124124
};
125125

126-
})();
126+
})();

0 commit comments

Comments
 (0)