bugfix: don't hide sound sim options for "double note" effects

There was is a typo in this line - apparently the "\u" was missing, so the search string was interpreted as octal char instead of unicode.
This commit is contained in:
Frank 2023-05-30 13:23:26 +02:00 committed by GitHub
parent 995d94c124
commit 70c277d8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1256,7 +1256,7 @@ function updateSelectedFx()
var segs = gId("segcont").querySelectorAll(`div[data-map="map2D"]`);
for (const seg of segs) if (selectedName.indexOf("\u25A6")<0) seg.classList.remove('hide'); else seg.classList.add('hide');
var segs = gId("segcont").querySelectorAll(`div[data-snd="si"]`);
for (const seg of segs) if (selectedName.indexOf("\u266A")<0 && selectedName.indexOf("\266B")<0) seg.classList.add('hide'); else seg.classList.remove('hide'); // also "♫ "?
for (const seg of segs) if (selectedName.indexOf("\u266A")<0 && selectedName.indexOf("\u266B")<0) seg.classList.add('hide'); else seg.classList.remove('hide'); // also "♫ "?
}
}