-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Use non-linear volume slider #266
Conversation
Options:
|
Features
Bug Fixes
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
✔️ Deploy preview for react-jinke-music-player ready! 🔨 Explore the source changes: 5e8eccd 🔍 Inspect the deploy logs: https://app.netlify.com/sites/react-jinke-music-player/deploys/5ffca72df8bae300071c0eb5 😎 Browse the preview: https://deploy-preview-266--react-jinke-music-player.netlify.app |
Codecov Report
@@ Coverage Diff @@
## master #266 +/- ##
==========================================
+ Coverage 76.44% 76.57% +0.13%
==========================================
Files 21 21
Lines 866 871 +5
Branches 223 223
==========================================
+ Hits 662 667 +5
Misses 153 153
Partials 51 51
|
Thanks. A lot of people want me to add features that they want, but nobody wants to do it themselves, thank you for your work |
🎉 This PR is included in version 4.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Implements a non-linear volume slider (#227)
Now, when you drag the volume slider to 50% it feels closer to a 50% reduction in perceived volume.
Other changes
props.onAudioVolumeChange
is called, the precision of the parameter is increased to 4 decimal values. This is because when you adjust the volume at values closer to 0, there is a bigger difference in perceived volume.