Skip to content

Commit

Permalink
Import base frequency from Anamark v2 tunings
Browse files Browse the repository at this point in the history
ref #446
  • Loading branch information
frostburn committed Jul 16, 2023
1 parent c75afb2 commit 6700163
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/ScaleBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ const exportTextClipboard = ref("Copy this scale's unique URL to clipboard");
async function doImport(importerKey: ImporterKey, event: Event) {
const result = await importFile(importerKey, event);
emit("update:scaleLines", result.scale.toStrings());
if (importerKey != "scalascl") {
emit("update:baseFrequency", result.scale.baseFrequency);
}
if (result.name !== undefined) {
emit("update:scaleName", result.name);
}
Expand Down

0 comments on commit 6700163

Please sign in to comment.