PixelsCommander / Propeller

JavaScript library to rotate elements with mouse or touch gestures. Supports inertia and stepwise rotation. Optimized for better performance.
http://pixelscommander.com/polygon/propeller/
409 stars 58 forks source link

Turn Count #35

Closed serdarde closed 7 years ago

serdarde commented 7 years ago

Is is possible to get how many times it turned?

Thank you

PixelsCommander commented 7 years ago

onRotate - check old angle and current angle if there is a switch from 4 quad to 0 quad (eg 355 to 5) - add +1 turn