summaryrefslogtreecommitdiff
path: root/src/controls/ScrollView.qml
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-04-03 12:26:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-02 10:04:29 +0200
commiteff1d637159ab6fe3f4c5ca50bbb148da06cc939 (patch)
tree7294ba9d9599ed20002e5e0ebfc4c916ebab801f /src/controls/ScrollView.qml
parentf8b75642343123ce355aa33ee8ef6697ff2075f5 (diff)
downloadqtquickcontrols-eff1d637159ab6fe3f4c5ca50bbb148da06cc939.tar.gz
Ensure that child MouseAreas will get the event first
By lowering the MouseArea provided by a ScrollView we can ensure that any user MouseArea created as a child will get the event first which can pass it on afterwards. Task-number: QTBUG-38083 Change-Id: Id0a36fab7600966a0e12043fa7e8a98641d71a81 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/ScrollView.qml')
-rw-r--r--src/controls/ScrollView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/ScrollView.qml b/src/controls/ScrollView.qml
index b18ebee7..431fadd1 100644
--- a/src/controls/ScrollView.qml
+++ b/src/controls/ScrollView.qml
@@ -231,7 +231,7 @@ FocusScope {
WheelArea {
id: wheelArea
parent: flickableItem
-
+ z: -1
// ### Note this is needed due to broken mousewheel behavior in Flickable.
anchors.fill: parent