mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 02:37:01 -06:00
Dragging a row shows a dimmed copy of it (colour bar, thumbnail, name) under the pointer. A row dropped on Delete, New Layer, New Sublayer or Make/Release Clipping Mask runs that button on the row's layer, as a click would: Delete removes the row itself and New Layer duplicates it, as in Illustrator. Rows dragged onto the trash weren't deleted. The trash took the drop as a target-circle payload first, and egui's take discards a payload of another type, so the rows reached the second check as nothing. It now peeks at the type before taking. The trash is also outlined while rows or a target circle are over it, like the other drop buttons. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>