This commit is contained in:
Jade (Rose) Rowland 2024-01-06 15:09:09 -05:00
parent 8d325b96ea
commit 86442adb20
2 changed files with 3 additions and 3 deletions

View file

@ -146,4 +146,4 @@ export const setAudioDevice = async (id) => {
} }
} }
initializeAudioOutput(); initializeAudioOutput();
}; };

View file

@ -172,7 +172,7 @@ export function updateUserCode(code) {
setActivePattern(example); setActivePattern(example);
return; return;
} }
if (!activePattern) { if (!activePattern) {
// create new user pattern // create new user pattern
activePattern = newUserPattern(); activePattern = newUserPattern();
@ -243,4 +243,4 @@ export async function exportPatterns() {
document.body.appendChild(downloadLink); document.body.appendChild(downloadLink);
downloadLink.click(); downloadLink.click();
document.body.removeChild(downloadLink); document.body.removeChild(downloadLink);
} }