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