mirror of
https://github.com/penpot/penpot.git
synced 2026-11-23 19:00:36 +00:00
Dragging a component from the Assets panel onto a freshly opened file showed "Something wrong has happened". The drag starts a move as soon as it enters the viewport, and the move took the mouse position at once, which is nil until the pointer has been over the viewport; the vector from the start point to it failed (`gpt/subtract` assertion). The copy was still created. The move now waits for the first mouse position. Found by the components Qase run (PENPOT-2416). Test: `a-move-started-without-a-mouse-position-follows-the-pointer` (drag-on-save-failure-test). AI-assisted-by: claude-opus-5-5