summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 00:02:15 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 00:02:15 +0100
commit735086371dda8474d9dcb04f87aebd213c580aa1 (patch)
tree0685ca402c03c2abf8aeb3b0ad0220f0d047e0c7 /resources/qml/TimelineView.qml
parentAdd scroll page shortcut (diff)
downloadnheko-735086371dda8474d9dcb04f87aebd213c580aa1.tar.xz
Make page scrolling half height
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml4
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 {