fix double paste and make selections always floating

This commit is contained in:
Skyler Lehmkuhl
2026-03-02 09:19:55 -05:00
parent 6f1a706dd2
commit 73ef9e3b9c
3 changed files with 244 additions and 49 deletions
@@ -88,6 +88,13 @@ pub enum ToolState {
current: (i32, i32),
},
/// Moving an existing raster selection (and its floating pixels, if any).
MovingRasterSelection {
/// Canvas position of the pointer at the last processed event, used to
/// compute per-frame deltas.
last: (i32, i32),
},
/// Dragging selected objects
DraggingSelection {
start_pos: Point,