From 4b57e753f6aad537ae5474e8c3b1c0a9525432d8 Mon Sep 17 00:00:00 2001 From: AlessandroPosenato Date: Thu, 31 Oct 2024 16:43:04 +0100 Subject: [PATCH] Fixes #4038 Issue with Note Block collapsing --- js/piemenus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/piemenus.js b/js/piemenus.js index e0da97877..83033fdec 100644 --- a/js/piemenus.js +++ b/js/piemenus.js @@ -327,7 +327,7 @@ const piemenuPitches = ( } else { accidental = EQUIVALENTACCIDENTALS[scale[6 - i]].substr(1); } - block.value = block.value.replace(SHARP, "").replace(FLAT, ""); + block.value = block.value.replace(SHARP, "").replace(FLAT, "").replace(DOUBLESHARP, "").replace(DOUBLEFLAT, ""); block.value += accidental; block.text.text = block.value; }