diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-31 00:02:15 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-31 00:02:15 +0100 |
commit | 735086371dda8474d9dcb04f87aebd213c580aa1 (patch) | |
tree | 0685ca402c03c2abf8aeb3b0ad0220f0d047e0c7 /resources/qml/TimelineView.qml | |
parent | Add scroll page shortcut (diff) | |
download | nheko-735086371dda8474d9dcb04f87aebd213c580aa1.tar.xz |
Make page scrolling half height
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 4 |
1 files 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 { |