Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation depending on number of slides #17

Open
xxluke opened this issue Sep 22, 2015 · 1 comment
Open

Rotation depending on number of slides #17

xxluke opened this issue Sep 22, 2015 · 1 comment

Comments

@xxluke
Copy link

xxluke commented Sep 22, 2015

I don't understand why this line
var percent = ((100 / pane_width) * deltaX) / pane_count;
contains pane_count. When there is only one pane it rotates like crazy and when there are 100 panes you can barely see the the rotation.

@rodneyrd
Copy link

Yes indeed, I replaced it with a rotation ratio within plugin settings.
Feel free to take a look at my merge request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants