mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: implement this on the keybind as well
This commit is contained in:
parent
202a528477
commit
030ba9eaf1
1 changed files with 5 additions and 1 deletions
|
@ -465,7 +465,11 @@ void FurnaceGUI::doAction(int what) {
|
|||
break;
|
||||
case GUI_ACTION_PAT_COLLAPSE:
|
||||
if (cursor.xCoarse<0 || cursor.xCoarse>=e->getTotalChannelCount()) break;
|
||||
e->song.chanCollapse[cursor.xCoarse]=!e->song.chanCollapse[cursor.xCoarse];
|
||||
if (e->song.chanCollapse[cursor.xCoarse]==0) {
|
||||
e->song.chanCollapse[cursor.xCoarse]=3;
|
||||
} else if (e->song.chanCollapse[cursor.xCoarse]>0) {
|
||||
e->song.chanCollapse[cursor.xCoarse]--;
|
||||
}
|
||||
break;
|
||||
case GUI_ACTION_PAT_INCREASE_COLUMNS:
|
||||
if (cursor.xCoarse<0 || cursor.xCoarse>=e->getTotalChannelCount()) break;
|
||||
|
|
Loading…
Reference in a new issue