mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
snapshot tests: sort haps by part
This commit is contained in:
parent
f07859996e
commit
00bd60a855
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -187,7 +187,7 @@ evalScope(
|
||||
|
||||
export const queryCode = async (code, cycles = 1) => {
|
||||
const { pattern } = await evaluate(code);
|
||||
const haps = pattern.queryArc(0, cycles);
|
||||
const haps = pattern.sortHapsByPart().queryArc(0, cycles);
|
||||
return haps.map((h) => h.show(true));
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user