mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: more keybindsss
This commit is contained in:
parent
43ba1f46fa
commit
f2a96b62d2
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue