fixed animation drops
This commit is contained in:
parent
721f707c94
commit
4d92922263
3 changed files with 8 additions and 3 deletions
|
|
@ -62,7 +62,7 @@ let clock = createClock(
|
|||
lastEnd = end;
|
||||
const tickdeadline = phase - time; // time left until the phase is a whole number
|
||||
lastTick = time + tickdeadline;
|
||||
sendMessage('tick', { begin, end, tickdeadline, cps, time: Date.now(), cycle: getCycle() });
|
||||
sendMessage('tick', { begin, end, tickdeadline, cps, cycle: getCycle() });
|
||||
} catch (e) {
|
||||
log(`[cyclist] error: ${e.message}`, 'error');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue