refactor: remove old draw logic
+ pianoroll now uses .onPaint
This commit is contained in:
parent
4b921c47f5
commit
95719654f3
7 changed files with 10 additions and 206 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue