GUI: implement paste flood

This commit is contained in:
tildearrow 2022-03-11 17:56:10 -05:00
parent cb3c4e2302
commit 07d15643c2

View file

@ -3014,6 +3014,10 @@ void FurnaceGUI::doPaste(PasteMode mode) {
break;
}
j++;
if (mode==GUI_PASTE_MODE_FLOOD && i==data.size()-1) {
i=1;
}
}
makeUndo(GUI_UNDO_PATTERN_PASTE);