GUI: implement paste overflow

This commit is contained in:
tildearrow 2022-03-11 23:50:59 -05:00
parent fe9b379ca9
commit f52d919240

View file

@ -3032,6 +3032,10 @@ void FurnaceGUI::doPaste(PasteMode mode) {
break;
}
j++;
if (mode==GUI_PASTE_MODE_OVERFLOW && j>=e->song.patLen && ord<e->song.ordersLen-1) {
j=0;
ord++;
}
if (mode==GUI_PASTE_MODE_FLOOD && i==data.size()-1) {
i=1;