GUI: fix paste mode binds not working

This commit is contained in:
tildearrow 2022-04-07 02:37:19 -05:00
parent 48838440ba
commit 3f5d0a1e46

View file

@ -314,6 +314,18 @@ void FurnaceGUI::doAction(int what) {
case GUI_ACTION_PAT_PASTE:
doPaste();
break;
case GUI_ACTION_PAT_PASTE_MIX:
doPaste(GUI_PASTE_MODE_MIX_FG);
break;
case GUI_ACTION_PAT_PASTE_MIX_BG:
doPaste(GUI_PASTE_MODE_MIX_BG);
break;
case GUI_ACTION_PAT_PASTE_FLOOD:
doPaste(GUI_PASTE_MODE_FLOOD);
break;
case GUI_ACTION_PAT_PASTE_OVERFLOW:
doPaste(GUI_PASTE_MODE_OVERFLOW);
break;
case GUI_ACTION_PAT_CURSOR_UP:
moveCursor(0,-MAX(1,settings.scrollStep?editStep:1),false);
break;