In the second case it's not 0, but 10.

--
Marcin


2014/1/16 Hendrik Borghorst <hendrikborgho...@gmail.com>

> Hello folks,
>
> I've noticed some strange behaviour in Silica Silder. If you set
> minimumValue=maximumValue , the handle gets invisible and cannot get
> activated
> again.
>
> if you've a look at (except from Slider.qml) you'll see:
>
>     function _updateHighlightToValue() {
>         highlight.x = (sliderValue - minimumValue) / (maximumValue -
> minimumValue) * _grooveWidth - highlight.width/2 + leftMargin
>     }
> that there is a case where an zero divison is done. For example (
> min=Max=0 or
> min=-5 and max=5)
>
> greetings
> _______________________________________________
> SailfishOS.org Devel mailing list
>
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to