NMRangeSlider icon indicating copy to clipboard operation
NMRangeSlider copied to clipboard

layoutSubviews crash due to a division by zero in trackRect

Open nferruzzi opened this issue 10 years ago • 2 comments

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

nferruzzi avatar Sep 11 '14 16:09 nferruzzi

Thanks, I will check it out.

muZZkat avatar Sep 11 '14 21:09 muZZkat

@muZZkat this error comes when its at zero Position " <Error>: 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. "

patelmayank avatar Sep 12 '14 03:09 patelmayank