mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-05 14:58:03 -04:00
cleaning up
This commit is contained in:
@@ -19,6 +19,7 @@ export function repl({
|
||||
onToggle,
|
||||
editPattern,
|
||||
}) {
|
||||
//TODO: could maybe be enabled with a command or a switch in settings?
|
||||
const abelinkEnabled = isTauri();
|
||||
const cyclistParams = {
|
||||
interval,
|
||||
|
||||
@@ -36,9 +36,7 @@ export class CyclistBridge extends Cyclist {
|
||||
|
||||
logger('[cyclist] start');
|
||||
this.clock.start();
|
||||
|
||||
this.setStarted(true);
|
||||
console.log('clock duration: ', this.clock.interval);
|
||||
}, timestamp - Date.now() - evaluationTime);
|
||||
} else {
|
||||
this.stop();
|
||||
@@ -59,9 +57,7 @@ export class CyclistBridge extends Cyclist {
|
||||
timestamp: Date.now(),
|
||||
phase: this.clock.getPhase(),
|
||||
};
|
||||
Invoke('sendabelinkmsg', { linkmsg }).then(() => {
|
||||
logger(`invoke delay: ${Date.now() - x}`);
|
||||
});
|
||||
Invoke('sendabelinkmsg', { linkmsg });
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
Reference in New Issue
Block a user