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

fix: next operation (#1251) #1295

Merged
merged 2 commits into from
Feb 14, 2024
Merged

fix: next operation (#1251) #1295

merged 2 commits into from
Feb 14, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Feb 14, 2024

fix #1251

Previously, the next() will set clicks to 0 when it is the last click of the last slide.

This PR makes next() a no-op in that situation.

@antfu antfu merged commit 66a7c8b into slidevjs:main Feb 14, 2024
8 checks passed
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.

Last click on last slide returns back to first click on this last slide, instead of no-op
2 participants