mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Scroll farther on PgUp/PgDn
This commit is contained in:
parent
7bb509005c
commit
9429e3c000
1 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ Item {
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: StandardKey.MoveToPreviousPage
|
sequence: StandardKey.MoveToPreviousPage
|
||||||
onActivated: {
|
onActivated: {
|
||||||
chat.contentY = chat.contentY - chat.height / 2;
|
chat.contentY = chat.contentY - chat.height * 0.9;
|
||||||
chat.returnToBounds();
|
chat.returnToBounds();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -214,7 +214,7 @@ Item {
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: StandardKey.MoveToNextPage
|
sequence: StandardKey.MoveToNextPage
|
||||||
onActivated: {
|
onActivated: {
|
||||||
chat.contentY = chat.contentY + chat.height / 2;
|
chat.contentY = chat.contentY + chat.height * 0.9;
|
||||||
chat.returnToBounds();
|
chat.returnToBounds();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue