aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Card.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/assistant/Card.qml')
-rw-r--r--desktop/assistant/Card.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/assistant/Card.qml b/desktop/assistant/Card.qml
index 2f9af69..f4e1af1 100644
--- a/desktop/assistant/Card.qml
+++ b/desktop/assistant/Card.qml
@@ -252,6 +252,7 @@ Rectangle {
onMovementStarted: stick = false
onMovementEnded: stick = atYEnd
onContentHeightChanged: if (stick) Qt.callLater(positionViewAtEnd)
+ WheelScroll { parent: list; anchors.fill: parent; flick: list; onSettled: list.stick = list.atYEnd }
Component.onCompleted: positionViewAtEnd()
delegate: Message {
@@ -588,6 +589,7 @@ Rectangle {
contentHeight: input.contentHeight
clip: true
boundsBehavior: Flickable.StopAtBounds
+ WheelScroll { parent: scroller; anchors.fill: parent; flick: scroller; step: 60 }
function follow(r) {
if (r.y < contentY) contentY = r.y;
else if (r.y + r.height > contentY + height) contentY = r.y + r.height - height;