Skip to content

Commit

Permalink
Increased max zoom to 1000%
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLazarescu committed Dec 10, 2023
1 parent af3c8cd commit 61bb4b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/presentation/readingPage/DocumentNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function setMoveDirection(direction) {

function zoom(newZoomFactor) {
// Clamp to max / min zoom factors
newZoomFactor = Math.max(0.15, Math.min(newZoomFactor, 5))
newZoomFactor = Math.max(0.15, Math.min(newZoomFactor, 10))
if (newZoomFactor === BookController.zoom)
return

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,13 @@ Pane {
text: "250%"
}
ListElement {
text: "300%"
text: "500%"
}
ListElement {
text: "400%"
text: "750%"
}
ListElement {
text: "500%"
text: "1000%"
}
}

Expand Down

0 comments on commit 61bb4b7

Please sign in to comment.