https://bugs.kde.org/show_bug.cgi?id=405471

Filip Fila <filipfila....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/qqc
                   |                            |2-desktop-style/6d0289d7b28
                   |                            |4f5074c5f8ffe5ee6879f656e07
                   |                            |24

--- Comment #4 from Filip Fila <filipfila....@gmail.com> ---
Git commit 6d0289d7b284f5074c5f8ffe5ee6879f656e0724 by Filip Fila.
Committed on 15/05/2019 at 16:34.
Pushed by filipf into branch 'master'.

[QQC2 Slider Style] Fix wrong handle positioning when initial value is 1

Summary:
Old code was not reading value properly when initial value was 1, misplacing
the handle as a result.

Test Plan:
Tested by running qmlscene with:

```
import QtQuick.Controls 2.5

Slider {
    from: 1
    to: 5
    stepSize: 1
    //orientation: Qt.Vertical
}
```
Tested both in horizontal and vertical orientation.

You can also test this in the Mouse KCM, with the Pointer Speed slider.

Reviewers: mart, #plasma, ngraham, broulik

Reviewed By: mart, #plasma, ngraham

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D21075

M  +3    -2    org.kde.desktop/Slider.qml

https://commits.kde.org/qqc2-desktop-style/6d0289d7b284f5074c5f8ffe5ee6879f656e0724

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to