mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-02 09:17:26 +00:00
find/replace: dont show octave on note combo preview
ugh please
This commit is contained in:
parent
665b722f31
commit
3a0549a480
1 changed files with 3 additions and 3 deletions
|
@ -615,7 +615,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
} else if (i.note==128) {
|
} else if (i.note==128) {
|
||||||
snprintf(tempID,1024,"%s##NOFF",noteOffLabel);
|
snprintf(tempID,1024,"%s##NOFF",noteOffLabel);
|
||||||
} else if (i.note>=-60 && i.note<120) {
|
} else if (i.note>=-60 && i.note<120) {
|
||||||
snprintf(tempID,1024,"%s",noteNames[i.note+60]);
|
snprintf(tempID,1024,"%c%c",noteNames[i.note+60][0],(noteNames[i.note+60][1]=='-')?' ':noteNames[i.note+60][1]);
|
||||||
} else {
|
} else {
|
||||||
snprintf(tempID,1024,"???");
|
snprintf(tempID,1024,"???");
|
||||||
i.note=0;
|
i.note=0;
|
||||||
|
@ -664,7 +664,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
i.noteMax=0;
|
i.noteMax=0;
|
||||||
}
|
}
|
||||||
if (i.noteMax>=-60 && i.noteMax<120) {
|
if (i.noteMax>=-60 && i.noteMax<120) {
|
||||||
snprintf(tempID,1024,"%s",noteNames[i.noteMax+60]);
|
snprintf(tempID,1024,"%c%c",noteNames[i.noteMax+60][0],(noteNames[i.noteMax+60][1]=='-')?' ':noteNames[i.noteMax+60][1]);
|
||||||
} else {
|
} else {
|
||||||
snprintf(tempID,1024,"???");
|
snprintf(tempID,1024,"???");
|
||||||
}
|
}
|
||||||
|
@ -907,7 +907,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
} else if (queryReplaceNote==128) {
|
} else if (queryReplaceNote==128) {
|
||||||
snprintf(tempID,1024,"%s##NOFF",noteOffLabel);
|
snprintf(tempID,1024,"%s##NOFF",noteOffLabel);
|
||||||
} else if (queryReplaceNote>=-60 && queryReplaceNote<120) {
|
} else if (queryReplaceNote>=-60 && queryReplaceNote<120) {
|
||||||
snprintf(tempID,1024,"%s",noteNames[queryReplaceNote+60]);
|
snprintf(tempID,1024,"%c%c",noteNames[queryReplaceNote+60][0],(noteNames[queryReplaceNote+60][1]=='-')?' ':noteNames[queryReplaceNote+60][1]);
|
||||||
} else {
|
} else {
|
||||||
snprintf(tempID,1024,"???");
|
snprintf(tempID,1024,"???");
|
||||||
queryReplaceNote=0;
|
queryReplaceNote=0;
|
||||||
|
|
Loading…
Reference in a new issue