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: [Regions] pass sensitivity threshold to enableDragSelection #3437

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

katspaugh
Copy link
Owner

Short description

Resolves #3428

Implementation details

enableDragSelection now takes a fourth optional parameter – a sensitivity threshold (defaults to 3px). It translates to how far one should move the mouse before a dragging event kicks in. Everything below the threshold is considered just a click.

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8b973b8
Status: ✅  Deploy successful!
Preview URL: https://16a531b3.wavesurfer-js.pages.dev
Branch Preview URL: https://regions-threshold.wavesurfer-js.pages.dev

View logs

Copy link
Contributor

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@katspaugh katspaugh merged commit a1f9302 into main Dec 23, 2023
4 checks passed
@katspaugh katspaugh deleted the regions-threshold branch December 23, 2023 08:08
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.

Audio annotations are more sensitive
1 participant