diff options
Diffstat (limited to 'demos/declarative/flickr/content/Slider.qml')
-rw-r--r-- | demos/declarative/flickr/content/Slider.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/Slider.qml b/demos/declarative/flickr/content/Slider.qml index a2ec420..24f6f90 100644 --- a/demos/declarative/flickr/content/Slider.qml +++ b/demos/declarative/flickr/content/Slider.qml @@ -29,7 +29,7 @@ Item { MouseRegion { anchors.fill: parent; drag.target: parent - drag.axis: "x"; drag.minimumX: 2; drag.maximumX: Slider.xMax+2 + drag.axis: "XAxis"; drag.minimumX: 2; drag.maximumX: Slider.xMax+2 onPositionChanged: { value = (maximum - minimum) * (Handle.x-2) / Slider.xMax + minimum; } } } |