From 735086371dda8474d9dcb04f87aebd213c580aa1 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 31 Jan 2020 00:02:15 +0100 Subject: [PATCH] Make page scrolling half height --- resources/qml/TimelineView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 635d9ce2..956f7e09 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -71,11 +71,11 @@ Item { Shortcut { sequence: StandardKey.MoveToPreviousPage - onActivated: { chat.contentY = chat.contentY - chat.height; chat.returnToBounds(); } + onActivated: { chat.contentY = chat.contentY - chat.height / 2; chat.returnToBounds(); } } Shortcut { sequence: StandardKey.MoveToNextPage - onActivated: { chat.contentY = chat.contentY + chat.height; chat.returnToBounds(); } + onActivated: { chat.contentY = chat.contentY + chat.height / 2; chat.returnToBounds(); } } ScrollBar.vertical: ScrollBar {