mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-04 16:48:48 +00:00
Kirigami: Properly reuse the page when scrolling back
Reviewed by Albert Astals
This commit is contained in:
parent
ac53737242
commit
ad09cfdcf1
|
@ -269,8 +269,8 @@ QtControls.ScrollView {
|
|||
} else {
|
||||
root.document.currentPage--;
|
||||
mouseArea.currPageDelegate = oldPrev;
|
||||
mouseArea.prevPageDelegate = oldCur;
|
||||
mouseArea. nextPageDelegate = oldNext;
|
||||
mouseArea.nextPageDelegate = oldCur;
|
||||
mouseArea.prevPageDelegate = oldNext;
|
||||
}
|
||||
mouseArea.currPageDelegate.z = 2;
|
||||
mouseArea.prevPageDelegate.z = 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user