-
Notifications
You must be signed in to change notification settings - Fork 1
Dragging first and last waypoint does not work #2
Copy link
Copy link
Open
Description
In my app there are multiple waypoints inserted by the user. Each one has to be draggable. However, when dragging the first or last waypoint, which is also the first and last position in the positions array, the position remains the same.
Example:
positions: [[0,0],[1,1],[2,0]]
waypoints: [[0,0],[2,0]]
First waypoint [0,0] is dragged to [42,42]
Result should be [[42,42],[1,1],[2,0]] with snapped positions inserted in the middle
Or if last waypoint [2,0] is dragged to [42,42]
Result should be [[0,0],[1,1],[42,42]] with snapped positions inserted in the middle
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels