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,7 +1,6 @@
|
|||
import { Cyclist } from './cyclist.mjs';
|
||||
import { evaluate as _evaluate } from './evaluate.mjs';
|
||||
import { logger } from './logger.mjs';
|
||||
import { setTime } from './time.mjs';
|
||||
import { evalScope } from './evaluate.mjs';
|
||||
|
||||
export function repl({
|
||||
|
|
@ -35,7 +34,6 @@ export function repl({
|
|||
getTime,
|
||||
onToggle,
|
||||
});
|
||||
setTime(() => scheduler.now()); // TODO: refactor?
|
||||
const evaluate = async (code, autostart = true) => {
|
||||
if (!code) {
|
||||
throw new Error('no code to evaluate');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue