fix: supradough onTrigger after breaking change

This commit is contained in:
Felix Roos
2025-07-16 02:21:39 +02:00
parent a32473d570
commit 5632d83afb
+1 -1
View File
@@ -20,7 +20,7 @@ const soundMap = new Map();
const loadedSounds = new Map();
Pattern.prototype.supradough = function () {
return this.onTrigger((_, hap, __, cps, begin) => {
return this.onTrigger((hap, __, cps, begin) => {
hap.value._begin = begin;
hap.value._duration = hap.duration / cps;
!doughWorklet && initDoughWorklet();