GUI: add a hint when an ins cannot be previewed
This commit is contained in:
parent
256140bc32
commit
061b8e7aa1
8 changed files with 32 additions and 6 deletions
|
|
@ -398,6 +398,7 @@ void FurnaceGUI::drawPiano() {
|
|||
default:
|
||||
e->synchronized([this,note]() {
|
||||
e->autoNoteOff(-1,note);
|
||||
failedNoteOn=false;
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
@ -423,7 +424,7 @@ void FurnaceGUI::drawPiano() {
|
|||
alterSampleMap(1,note);
|
||||
} else {
|
||||
e->synchronized([this,note]() {
|
||||
e->autoNoteOn(-1,curIns,note);
|
||||
if (!e->autoNoteOn(-1,curIns,note)) failedNoteOn=true;
|
||||
});
|
||||
if (edit && curWindow!=GUI_WINDOW_INS_LIST && curWindow!=GUI_WINDOW_INS_EDIT) noteInput(note,0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue