parent
690b8648a8
commit
fece4e8b57
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue