mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: implement paste flood
This commit is contained in:
parent
cb3c4e2302
commit
07d15643c2
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue