sambaker / awe-core

Artefact Web Extensions JS core
MIT License
2 stars 1 forks source link

onDragUpdate and onDragMove have different event arguments #9

Open shyam-habarakada opened 12 years ago

shyam-habarakada commented 12 years ago

Noticed that delta.x is always zero when the event is received inside onDragUpdate. I understand that no ever drag move event has a corresponding drag update, but I would expect the drag update to contain the same event data from a specific move event.

Consequently, the event data in the last drag update event in a given drag operation should match the event data from the last drag move.

@sambaker let me know your thoughts. This became an issue for some scenarios after I switched to using onDragUpdate yesterday (based on our chat).