mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: remove instrument when deleting one note
This commit is contained in:
parent
b26ef5ac82
commit
5dfe19e52d
1 changed files with 1 additions and 0 deletions
|
@ -1978,6 +1978,7 @@ void FurnaceGUI::doDelete() {
|
|||
for (int j=selStart.y; j<=selEnd.y; j++) {
|
||||
if (iFine==0) {
|
||||
pat->data[j][iFine]=0;
|
||||
if (selStart.y==selEnd.y) pat->data[j][2]=-1;
|
||||
}
|
||||
pat->data[j][iFine+1]=(iFine<1)?0:-1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue