jdittrich / quickMockup

HTML based interface mockups
https://jdittrich.github.io/quickMockup/
MIT License
517 stars 97 forks source link

v2 keep element-cursor offset consistent when drop-adding elements to canvas #60

Closed jdittrich closed 4 years ago

jdittrich commented 4 years ago

Is: No matter how an element was add-dropped on the the canvas, the upper left corner is always below the mouse cursor

Should The upper left corner of the element that is added should have the same distance from the cursor as the upper left corner of the element that was dropped on canvas.

image

jdittrich commented 4 years ago

Solves with this commit