-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 minimap styling issues and add support for zooming #1464
Conversation
My bad for not verifying eslint before pushing up 😓also pushed up a fix for the Karma bug mentioned in codymikol/karma-webpack#350 Let me know if you don't want to resolve it that way, seems to work fine locally when running tests. |
@katspaugh can you take a look as well and approve this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good and the plugin works! Thanks a bunch!
What is the status on fixing the build issues for this PR? |
How do you style the region viwer in the minimap? |
@bjvalmasedadev you can style it with CSS via the |
Short description of changes:
Fixes some styling issues with the minimap plugin, the height and widths were not being calculated correctly. Also adds support while zooming in on the waveform to update the minimap.
Ignore the weirdness near the end of the gif with the zoom jumping out, that's just my terribly buggy zoom code (outside of wavesurfer) 😆
Breaking in the external API:
Nothing
Breaking changes in the internal API:
Nothing
Todos/Notes:
Nothing yet, maybe I'll find some more stuff to fix later on :) The library is awesome, really enjoying how easy it is to use overall.
Related Issues and other PRs:
fixes #290