Make page scrolling half height

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

Loading…
Cancel
Save