Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
frostburn committed Dec 27, 2023
1 parent c410e4a commit c6dae56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/modals/modification/MergeOffset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ function modify() {
} else if (overflowType.value === 'reduce') {
transposed = transposed.reduce()
}
let scale: Scale;
let scale: Scale
if (overflowType.value === 'intuitive') {
scale = props.scale.variant([...props.scale.intervals]);
let unison: Interval;
scale = props.scale.variant([...props.scale.intervals])
let unison: Interval
if (scale.intervals.length) {
unison = scale.intervals.shift()!
scale = props.scale.merge(transposed)
Expand All @@ -41,7 +41,7 @@ function modify() {
scale.sortInPlace()
}
}
scale.intervals.unshift(unison!);
scale.intervals.unshift(unison!)
} else {
scale = props.scale.merge(transposed)
}
Expand Down

0 comments on commit c6dae56

Please sign in to comment.