fixes + tidying

This commit is contained in:
alex
2025-10-24 20:51:12 +01:00
parent 1834d689ef
commit 9aaa9bee6b
+1 -1
View File
@@ -44,7 +44,7 @@ export class NeoCyclist {
const timeUntilTrigger = cycleToSeconds(hap.whole.begin - this.cycle, this.cps);
const targetTime = timeUntilTrigger + currentTime + this.latency;
const duration = cycleToSeconds(hap.duration, this.cps);
onTrigger?.(hap, 0, duration, this.cps, targetTime, begin);
onTrigger?.(hap, 0, duration, this.cps, targetTime);
}
});
};