Ticket #1466 (closed bug: fixed)
Drag.js reports done, even if the user only clicked, but did not move
| Reported by: | openlayers | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.7 Release |
| Component: | Handler.Drag | Version: | 2.5 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Trying to implement a draggable iconic marker, I notice that the marker moves even if I just click into it. The marker has an icon of size 25x25px, so when I click somewhere within it, the marker/icon is slightly moved depending on where I click within the marker.
This can certainly be rectified by somehow fixing the offset of the icon during the move, but according to the comments in Drag.js, the click should not look like a move.
Change History
Note: See
TracTickets for help on using
tickets.
