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

layoutSubviews crash due to a division by zero in trackRect #38

Open
nferruzzi opened this issue Sep 11, 2014 · 2 comments
Open

layoutSubviews crash due to a division by zero in trackRect #38

nferruzzi opened this issue Sep 11, 2014 · 2 comments

Comments

@nferruzzi
Copy link

This is easy to reproduce, just set the same value for maximumValue and minimumValue.
I understand this may have not sense for the slider, still imho it would be cool to see a graceful degradation (maybe handlers could disappear?) and not a crash. Thank you

@muZZkat
Copy link
Owner

muZZkat commented Sep 11, 2014

Thanks, I will check it out.

@patelmayank
Copy link

@muZZkat this error comes when its at zero Position
" : CGContextRestoreGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update. "

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

3 participants