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

timeline plugin: Round to milliseconds #1087

Merged
merged 1 commit into from
May 14, 2017
Merged

timeline plugin: Round to milliseconds #1087

merged 1 commit into from
May 14, 2017

Conversation

X-Raym
Copy link
Contributor

@X-Raym X-Raym commented May 11, 2017

I had problems with labels being things like "0.99999999999999999999" which may be extra precized, but are far from readable. Also, I think milliseconds precision is far from enough. :P

Hey, thank you for contributing to wavesurfer.js!

To review/merge open PRs it is very helpful to know as much as possible about the changes which are being introduced. Reviewing PRs is very time consuming, please be patient, it can take some time to do properly.

Title: Please make sure the name of your PR is as descriptive as possible (Describe the feature that is introduced or the bug that is being fixed).

Please make sure you provide the information below:

Short description of changes:

Breaking in the external API:

Breaking changes in the internal API:

Todos/Notes:

Related Issues and other PRs:

I had problems with labels being things like "0.99999999999999999999" which may be extra precized, but are far from readable. Also, I think milliseconds precision is far from enough. :P
@entonbiba
Copy link
Contributor

@X-Raym what kind of problem did you have with the precise value?

@katspaugh
Copy link
Owner

Yes, I guess those long fractions can occur due to arithmetic operations when calculating the seconds. LGTM, thanks!

@thijstriemstra thijstriemstra changed the title Round to Milliseconds timeline plugin: Round to milliseconds May 14, 2017
@thijstriemstra thijstriemstra merged commit 23b54a1 into katspaugh:master May 14, 2017
@X-Raym
Copy link
Contributor Author

X-Raym commented May 14, 2017

@thijstriemstra Thanks !
@entonbiba well, insteaf of having human readable numbers, I had numbers with a dozens of decimal, because there was no rounding. But is is fixed now. 👍

@X-Raym X-Raym deleted the patch-3 branch May 14, 2017 22:00
@X-Raym
Copy link
Contributor Author

X-Raym commented May 15, 2017

@entonbiba For info, here was the problem:
Screenshot

mspae pushed a commit to mspae/wavesurfer.js that referenced this pull request Aug 18, 2017
timeline plugin: Round to milliseconds
mspae pushed a commit that referenced this pull request Aug 19, 2017
timeline plugin: Round to milliseconds
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.

None yet

4 participants