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

in table - side by side example #16

Closed leonix2015 closed 8 years ago

leonix2015 commented 8 years ago

I am trying to do this: http://fpa-voices.com/wheel3/example/leo.html the problem is that the wheel on the right behaves differently...

PixelsCommander commented 8 years ago

It is not because of second or first it is because you use iframe and coordinates systems inside of iframe and on the screen are different. The first propeller stands on 0,0 coordinates which makes no difference between coordinate inside of iframe and on the page globally. But second one have some shift which creates some problems.

Moving propellers out of iframes will solve your issue.

2015-11-02 18:27 GMT+01:00 leonix2015 notifications@github.com:

I am trying to do this: http://fpa-voices.com/wheel3/example/leo.html the problem is that the wheel on the right behaves differently...

— Reply to this email directly or view it on GitHub https://github.com/PixelsCommander/Propeller/issues/16.