<div dir="ltr">In the second case it's not 0, but 10.<br></div><div class="gmail_extra"><br clear="all"><div><div>--</div>Marcin<br></div>
<br><br><div class="gmail_quote">2014/1/16 Hendrik Borghorst <span dir="ltr"><<a href="mailto:hendrikborghorst@gmail.com" target="_blank">hendrikborghorst@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

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