Skip to content

Commit

Permalink
Fixed setting the page wrongly
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Oct 28, 2023
1 parent deddca3 commit 784d089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presentation/readingPage/MDocumentView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Pane {
}

Component.onCompleted: root.setPage(
Globals.selectedBook.currentPage - 1)
Globals.selectedBook.currentPage)

function getPageSpacing(zoom) {
return Math.round(
Expand Down

0 comments on commit 784d089

Please sign in to comment.