mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
parent
690b8648a8
commit
fece4e8b57
@ -2043,7 +2043,7 @@ export const zoom = register('zoom', function (s, e, pat) {
|
||||
return nothing;
|
||||
}
|
||||
const d = e.sub(s);
|
||||
const steps = __steps ? pat._steps.mulmaybe(d) : undefined;
|
||||
const steps = __steps ? pat._steps?.mulmaybe(d) : undefined;
|
||||
return pat
|
||||
.withQuerySpan((span) => span.withCycle((t) => t.mul(d).add(s)))
|
||||
.withHapSpan((span) => span.withCycle((t) => t.sub(s).div(d)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user