GUI: more keybindsss

This commit is contained in:
tildearrow 2022-02-11 18:30:33 -05:00
parent 43ba1f46fa
commit f2a96b62d2

View file

@ -6126,8 +6126,14 @@ void FurnaceGUI::doAction(int what) {
break; break;
case GUI_ACTION_ORDERS_UP: case GUI_ACTION_ORDERS_UP:
if (e->getOrder()>0) {
e->setOrder(e->getOrder()-1);
}
break; break;
case GUI_ACTION_ORDERS_DOWN: case GUI_ACTION_ORDERS_DOWN:
if (e->getOrder()<e->song.ordersLen-1) {
e->setOrder(e->getOrder()+1);
}
break; break;
case GUI_ACTION_ORDERS_LEFT: { case GUI_ACTION_ORDERS_LEFT: {
DETERMINE_FIRST; DETERMINE_FIRST;
@ -6145,7 +6151,7 @@ void FurnaceGUI::doAction(int what) {
DETERMINE_LAST; DETERMINE_LAST;
do { do {
orderCursor--; orderCursor++;
if (orderCursor>=lastChannel) { if (orderCursor>=lastChannel) {
orderCursor=lastChannel-1; orderCursor=lastChannel-1;
break; break;