mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
GUI: implement paste overflow
This commit is contained in:
parent
fe9b379ca9
commit
f52d919240
1 changed files with 4 additions and 0 deletions
|
@ -3032,6 +3032,10 @@ void FurnaceGUI::doPaste(PasteMode mode) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
j++;
|
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) {
|
if (mode==GUI_PASTE_MODE_FLOOD && i==data.size()-1) {
|
||||||
i=1;
|
i=1;
|
||||||
|
|
Loading…
Reference in a new issue