Fix maxPolyphony and multiChannelOrbits not applying to export

This commit is contained in:
Nikita 2025-10-23 17:07:53 +03:00
parent 85f6454340
commit 6baca67cd3
3 changed files with 8 additions and 6 deletions

View file

@ -204,7 +204,7 @@ export default function ExportModal(Props) {
setStrudelMaxPolyphony(maxPolyphony);
setStrudelMultiChannelOrbits(multiChannelOrbits);
setTimeout(refreshProgress, 1000);
await handleExport(startCycle, endCycle, sampleRate, downloadName).finally(() => {
await handleExport(startCycle, endCycle, sampleRate, maxPolyphony, multiChannelOrbits, downloadName).finally(() => {
setExporting(false);
const modal = document.getElementById('exportModal');
setProgress(0);