diff options
| author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-11-07 12:25:29 +0100 |
|---|---|---|
| committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-11-07 17:52:25 +0100 |
| commit | 8e8b0dbaec1868944e0a699a4474304b0cae65e9 (patch) | |
| tree | aa3c20c58c00a4294dd687d0bf0e228bfb516ee0 /src | |
| parent | a8532793ffac763b8345fd42fe0bccb312e4c94c (diff) | |
Slider: don't clamp to the initial press point
Change-Id: I5115bbab670f534dae44eb19c2208aff21293889
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/controls/Slider.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml index d43923c1b..89c1e7236 100644 --- a/src/controls/Slider.qml +++ b/src/controls/Slider.qml @@ -258,7 +258,7 @@ Control { onPositionChanged: { if (pressed) - updateHandlePosition(mouse) + updateHandlePosition(mouse, preventStealing) var point = mouseArea.mapToItem(fakeHandle, mouse.x, mouse.y) handleHovered = fakeHandle.contains(Qt.point(point.x, point.y)) |
