mitchcurtis / slate

Pixel Art Editor
GNU General Public License v3.0
1.05k stars 102 forks source link

Copy/paste across layers #174

Closed mitchcurtis closed 2 years ago

mitchcurtis commented 2 years ago

For animated projects with many layers, duplicating a frame across layers involves tediously selecting the specific frame for each layer and copy-pasting it into the new location. It would better to allow the user to copy all (optionally visible) layers for the current selection, and paste in a certain location chosen via a dialog (which would require a live preview). The user has to provide the location since there will be no selection after pasting, as there would be for a regular copy-paste on a single image.

If the number of layers at the time of pasting does not match the number of layers in the clipboard, the operation should fail; clicking on the Paste Across Layers menu item should show a message box explaining that the number of layers has to match. We might need to do the same for the size of the canvas.