This commit is contained in:
Nikita 2025-10-23 17:08:11 +03:00
parent 6baca67cd3
commit fe70a2df43
2 changed files with 18 additions and 2 deletions

View file

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