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

Keep current slider position when rotate device #4

Open
rr-hung-nguyen opened this issue Apr 1, 2014 · 0 comments
Open

Keep current slider position when rotate device #4

rr-hung-nguyen opened this issue Apr 1, 2014 · 0 comments

Comments

@rr-hung-nguyen
Copy link

I want to keep current slider status when the device rotated. So i create new slider and set left-right position for this:
self.mySAVideoRangeSlider.leftPosition = self.startTime * ratio;
self.mySAVideoRangeSlider.rightPosition = self.stopTime * ratio;
But it worked incorrect, slider's position is wrong. Are there any solution for my problem? Thanks so much.

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

No branches or pull requests

1 participant