googlearchive / polymer-gestures

84 stars 27 forks source link

send angle with pinch #8

Open RTFaught opened 10 years ago

RTFaught commented 10 years ago

It might be nice to have the angle between the two points sent with the pinch event. This would make it easy to handle things like "scale width" and "scale height".

The older PointerGestures rotate/pinch code computed the angle for both pinch and rotate but did not send it with a pinch. It is easy to customize this, but it might be a generally useful change.