googlearchive / polymer-gestures

84 stars 27 forks source link

Generate track event with other mouse buttons. #66

Open ghost opened 10 years ago

ghost commented 10 years ago

Currently I am only getting a track event if the primary mouse button (left button in my case) is being held while dragging. It would be nice to have track events triggered with the other buttons. I am trying to implement a middle button drag to pan a view. Currently I am having to patch this with a mousedown event, and prevent it if a track event has already occurred.

FYI: Chrome Version 38.0.2125.77 beta (64-bit) Polymer Version 0.4.1