Fix steady()

This commit is contained in:
alex 2022-04-17 18:25:38 +01:00
parent 1c6e3dd9a6
commit 28ebf6559e

View File

@ -5,7 +5,7 @@ import { id } from './util.mjs';
export function steady(value) {
// A continuous value
return new Pattern((span) => Hap(undefined, span, value));
return new Pattern((state) => [new Hap(undefined, state.span, value)]);
}
export const signal = (func) => {