Add scroll page shortcut

pull/115/head
Nicolas Werner 5 years ago
parent c2d436942e
commit 9b7c1cb7f9
  1. 9
      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

Loading…
Cancel
Save