Skip to content

Commit

Permalink
Clear scale title when clearing scale data
Browse files Browse the repository at this point in the history
ref #530
  • Loading branch information
frostburn committed Jan 13, 2024
1 parent b213592 commit 0dc5acc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ScaleBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ function copyToClipboard() {
// Actions that would take multiple lines in template code and get ruined by auto-formatting
function clearScale() {
state.scaleName = ''
joinedLines.value = ''
scaleDataArea.value!.focus()
}
Expand Down

0 comments on commit 0dc5acc

Please sign in to comment.