diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-05 00:27:40 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-28 09:27:18 +0200 |
commit | 6a2185228207dabb8e8c826ab8651db27ab3cde7 (patch) | |
tree | 4c9a55cef9ae7f8c65ab7c9ddb9f4a0bf499ecab /src/controls/ScrollView.qml | |
parent | c41e13b7375327b4a440c0969902a8a1f8fb32f7 (diff) | |
download | qtquickcontrols-6a2185228207dabb8e8c826ab8651db27ab3cde7.tar.gz |
ScrollView: handle QWheelEvent::phase
Change-Id: I5642e8dc5f62b48aaf086820699cf41f689cec1a
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/ScrollView.qml')
-rw-r--r-- | src/controls/ScrollView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/ScrollView.qml b/src/controls/ScrollView.qml index aa980ddd..7d3d1d9d 100644 --- a/src/controls/ScrollView.qml +++ b/src/controls/ScrollView.qml @@ -280,6 +280,7 @@ FocusScope { ScrollViewHelper { id: scroller anchors.fill: parent + active: wheelArea.active property bool outerFrame: !frameVisible || !(__style ? __style.__externalScrollBars : 0) property int scrollBarSpacing: outerFrame ? 0 : (__style ? __style.__scrollBarSpacing : 0) property int verticalScrollbarOffset: verticalScrollBar.visible && !verticalScrollBar.isTransient ? |