Skip to content

Commit

Permalink
Update piemenus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
omsuneri authored Nov 21, 2024
1 parent 899975e commit 7080a5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/piemenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,10 @@ const piemenuPitches = (
that.value += selection["attr"];
that.text.text = selection["note"] + selection["attr"];
}

// Store the selected accidental in the block for later use.
prevAccidental = selection["attr"];
block.prevAccidental = prevAccidental;

that.container.setChildIndex(that.text, that.container.children.length - 1);
that.updateCache();
__pitchPreview();
Expand Down

0 comments on commit 7080a5d

Please sign in to comment.