diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-30 23:57:39 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-01-30 23:57:39 +0100 |
commit | 9b7c1cb7f9f97fa228643e17f1a9c4d8437e0680 (patch) | |
tree | ca1b965c0af763f509529574327329c1b3573a7c /resources/qml/TimelineView.qml | |
parent | Add explicit size to reply close button (diff) | |
download | nheko-9b7c1cb7f9f97fa228643e17f1a9c4d8437e0680.tar.xz |
Add scroll page shortcut
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 9 |
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 |