One-com / knockout-dragdrop

A drag and drop binding for Knockout.
BSD 3-Clause "New" or "Revised" License
85 stars 29 forks source link

Dragged item to cursor position #34

Open blomquist78 opened 8 years ago

blomquist78 commented 8 years ago

Hi, first of all: thanks for the great work!! I only have one small remark: The dragged item seems to always be positioned to the lower right of the dragging cursor. So e.g. if I have a photo that I want to drag and start the drag from the center of the photo, its draggable clone "jumps" by half its width and height to the right and bottom, respectively. Now when dragging, the cursor sticks to the photo's top left corner (I hope the description was somehow understandable). Is there some way to set the item's anchor point to prevent this visual effect? I would want the cursor to remain at the center of the photo while dragging (or whereever the click occurred). Thanks and cheers, blomquist