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

Add averageDistanceThreshold Option for Stroke Matching Leniency #307

Merged
merged 2 commits into from Sep 15, 2023

Conversation

wststone
Copy link
Contributor

This pull request introduces an averageDistanceThreshold option to the strokeMatches function, allowing users to configure the leniency of stroke matching based on distance.
This change provides more flexibility for users who want to adjust the leniency of stroke matching, especially in scenarios where the direction of the stroke is more important than its exact position.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (319ea83) 96.40% compared to head (b9799b7) 96.41%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #307   +/-   ##
=======================================
  Coverage   96.40%   96.41%           
=======================================
  Files          32       32           
  Lines        1141     1144    +3     
  Branches      209      212    +3     
=======================================
+ Hits         1100     1103    +3     
  Misses         37       37           
  Partials        4        4           
Files Changed Coverage Δ
src/defaultOptions.ts 100.00% <ø> (ø)
src/Quiz.ts 96.00% <100.00%> (ø)
src/strokeMatches.ts 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chanind
Copy link
Owner

chanind commented Sep 15, 2023

Looks good!

@chanind chanind merged commit 1682d83 into chanind:master Sep 15, 2023
1 check passed
@chanind
Copy link
Owner

chanind commented Sep 15, 2023

🎉 This PR is included in version 3.6.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.

None yet

3 participants