Skip to content
Snippets Groups Projects
Commit 9b7c1cb7 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Add scroll page shortcut

parent c2d43694
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment