GUI: more note preview fixes
This commit is contained in:
parent
a81393472c
commit
d0c76e020c
5 changed files with 22 additions and 25 deletions
|
|
@ -99,20 +99,14 @@ void FurnaceGUI::doAction(int what) {
|
|||
if (++curOctave>7) {
|
||||
curOctave=7;
|
||||
} else {
|
||||
for (size_t i=0; i<activeNotes.size(); i++) {
|
||||
e->noteOff(activeNotes[i].chan);
|
||||
}
|
||||
activeNotes.clear();
|
||||
e->autoNoteOffAll();
|
||||
}
|
||||
break;
|
||||
case GUI_ACTION_OCTAVE_DOWN:
|
||||
if (--curOctave<-5) {
|
||||
curOctave=-5;
|
||||
} else {
|
||||
for (size_t i=0; i<activeNotes.size(); i++) {
|
||||
e->noteOff(activeNotes[i].chan);
|
||||
}
|
||||
activeNotes.clear();
|
||||
e->autoNoteOffAll();
|
||||
}
|
||||
break;
|
||||
case GUI_ACTION_INS_UP:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue