summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-03 21:19:28 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-03 21:19:28 +0100
commit55d2d3a315224f3960a740aa98b53e40f2f6a9a1 (patch)
treed13bba45f8266011708c151119590b87e71e0d9d /components
parenta02c721c4d8ba3c342fcb317f5c779a076571fa4 (diff)
downloadkube-55d2d3a315224f3960a740aa98b53e40f2f6a9a1.tar.gz
kube-55d2d3a315224f3960a740aa98b53e40f2f6a9a1.zip
Mouseproxy to fix the scrolling behaviour.
The webview simply no longer gets scroll events.
Diffstat (limited to 'components')
-rw-r--r--components/package/contents/ui/SingleMailView.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/package/contents/ui/SingleMailView.qml b/components/package/contents/ui/SingleMailView.qml
index b44659f9..41c75224 100644
--- a/components/package/contents/ui/SingleMailView.qml
+++ b/components/package/contents/ui/SingleMailView.qml
@@ -99,6 +99,7 @@ Item {
99 99
100 100
101 ListView { 101 ListView {
102 id: listView
102 anchors { 103 anchors {
103 top: subjectBar.bottom 104 top: subjectBar.bottom
104 left: parent.left 105 left: parent.left
@@ -124,6 +125,14 @@ Item {
124 } 125 }
125 126
126 delegate: mailDelegate 127 delegate: mailDelegate
128
129 //Intercept all scroll events,
130 //necessary due to the webengineview
131 KubeFramework.MouseProxy {
132 anchors.fill: parent
133 target: listView
134 forwardWheelEvents: true
135 }
127 } 136 }
128 Component { 137 Component {
129 id: mailDelegate 138 id: mailDelegate