refactor: remove old draw logic

+ pianoroll now uses .onPaint
This commit is contained in:
Felix Roos 2023-05-05 09:52:07 +02:00
parent 4b921c47f5
commit 95719654f3
7 changed files with 10 additions and 206 deletions

View file

@ -1,11 +0,0 @@
let time;
export function getTime() {
if (!time) {
throw new Error('no time set! use setTime to define a time source');
}
return time();
}
export function setTime(func) {
time = func;
}