Skip to content

Commit d2d2a56

Browse files
authored
Update piemenus.js
1 parent 3369dd1 commit d2d2a56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

js/piemenus.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,10 @@ const piemenuPitches = (
634634

635635
// Update the block's displayed text with the note and accidental
636636
if (selectedAccidental === "♮" || selectedAccidental === "") {
637-
that.text.text = selectedNote; // Natural or no accidental
637+
that.text.text = selectedNote; // Natural or no accidental
638638
} else {
639-
that.text.text = selectedNote + selectedAccidental; // Combine note and accidental
639+
that.text.text = selectedNote + selectedAccidental; // Combine note and accidental
640640
}
641-
642641
// Update the block value and refresh the cache
643642
that.value = selectedNote + (selectedAccidental === "♮" ? "" : selectedAccidental);
644643
that.container.setChildIndex(that.text, that.container.children.length - 1);

0 commit comments

Comments
 (0)