Kirigami: Properly reuse the page when scrolling back

Reviewed by Albert Astals
remotes/origin/gsoc2018_typewriter
Aleix Pol 8 years ago
parent ac53737242
commit ad09cfdcf1
  1. 4
      mobile/components/DocumentView.qml

@ -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…
Cancel
Save