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

Fix click-to-seek for audios which are not spanning the entire canvas #687

Merged
merged 1 commit into from
Mar 31, 2016
Merged

Conversation

whenov
Copy link
Contributor

@whenov whenov commented Mar 31, 2016

Solves #686

@whenov whenov changed the title Fix click-to-seek for audios which are not spanning the entire canvas (#686) Fix click-to-seek for audios which are not spanning the entire canvas Mar 31, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 4.914% when pulling 0da329d on whenov:master into b0d8457 on katspaugh:master.

if (progress > 1) {
progress = 1;
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to do that, but getDuration() is not accessible in drawer

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but I think you can take this.drawer.width (or this.width in the drawer code) instead of calculating nominalWidth.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reasonable.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 4.908% when pulling c500aba on whenov:master into b0d8457 on katspaugh:master.

@katspaugh
Copy link
Owner

Nice, thanks!

@katspaugh katspaugh merged commit 3e7b67e into katspaugh:master Mar 31, 2016
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

3 participants