summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resources/qml/TimelineView.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 0d42bf4f..635d9ce2 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -69,6 +69,15 @@ Item {
 				}
 			}
 
+			Shortcut {
+				sequence: StandardKey.MoveToPreviousPage
+				onActivated: { chat.contentY = chat.contentY - chat.height; chat.returnToBounds(); }
+			}
+			Shortcut {
+				sequence: StandardKey.MoveToNextPage
+				onActivated: { chat.contentY = chat.contentY + chat.height; chat.returnToBounds(); }
+			}
+
 			ScrollBar.vertical: ScrollBar {
 				id: scrollbar
 				parent: chat.parent