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

feat: add quizStartStrokeNum option to allow quizzing final stroke #281

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

chanind
Copy link
Owner

@chanind chanind commented Oct 26, 2022

This PR adds a quizStartStrokeNum option which can be used to start the quizzing at a stroke other than stroke 0, to support quizzing just the final stroke if desired.

This PR also adds support for passing negative indices into quizStartStrokeNum, animateStroke and highlightStroke to allow selecting the final stroke without needing to calculate how many strokes are present in the character.

Thanks to @rdrg109 for the idea!

closes #280

@chanind chanind force-pushed the quiz-start-stroke-num branch from 8f58817 to 7efe395 Compare October 26, 2022 10:34
@chanind chanind merged commit c0c08b0 into master Oct 26, 2022
@chanind chanind deleted the quiz-start-stroke-num branch October 26, 2022 10:36
@chanind
Copy link
Owner Author

chanind commented Oct 26, 2022

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

How to quiz only for the last stroke of a character?
1 participant