working but animation is weird
This commit is contained in:
parent
0c7b731fa6
commit
721f707c94
8 changed files with 48 additions and 52 deletions
|
|
@ -124,6 +124,7 @@ export class Drawer {
|
|||
const lookahead = this.drawTime[1];
|
||||
// calculate current frame time (think right side of screen for pianoroll)
|
||||
const phase = this.scheduler.now() + lookahead;
|
||||
|
||||
// first frame just captures the phase
|
||||
if (this.lastFrame === null) {
|
||||
this.lastFrame = phase;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue