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

Prevent rotation when only with one item #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dabrosch
Copy link

I can't really see much of a case for wanting the quote animation to occur when you only have one, so I am suggesting that we check for the number of items first and prevent rotation if there is one or less.

That var on line 30 also was just unnecessarily redeclaring the parameter variable.

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

Successfully merging this pull request may close these issues.

1 participant