refactor: remove first param of all onTrigger calls
This commit is contained in:
parent
46fe6d3c4d
commit
e3680b96de
13 changed files with 15 additions and 41 deletions
|
|
@ -74,6 +74,6 @@ export const dough = async (code) => {
|
|||
worklet.node.connect(ac.destination);
|
||||
};
|
||||
|
||||
export function doughTrigger(time_deprecate, hap, currentTime, cps, targetTime) {
|
||||
export function doughTrigger(hap, currentTime, cps, targetTime) {
|
||||
window.postMessage({ time: targetTime, dough: hap.value, currentTime, duration: hap.duration, cps });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue