Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Implement duplication of Alt-dragged layers within the Layers panel

Open sneaxhuh opened this issue 5 months ago • 4 comments

This PR introduces the ability to duplicate selected layers within the editor. Users can now duplicate layers by dragging them while holding the Alt key.

This includes:

Adding a new DuplicateSelectedLayers message.

Implementing the logic to copy and insert duplicated layers into the document.

Updating the frontend to detect the Alt key during drag operations and trigger the duplication.

Exposing the duplicateLayer function in the WASM API.

sneaxhuh avatar Jul 09 '25 11:07 sneaxhuh

Hi @Keavon , can you please review this. Thanks

sneaxhuh avatar Jul 14 '25 08:07 sneaxhuh

Will do, no promises on when though. Still backlogged on code reviews.

Keavon avatar Jul 14 '25 09:07 Keavon

@Keavon , just a gentle reminder

sneaxhuh avatar Jul 25 '25 10:07 sneaxhuh

Any updates? Just a reminder.

Keavon avatar Aug 19 '25 16:08 Keavon