mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Add a ignoreDestinationZoom
option/preference to allow users to preserve the current zoom level when navigating to internal destinations (issue 5064, 11606)
This commit is contained in:
parent
965ebe63fd
commit
03f5dd2cf2
5 changed files with 28 additions and 4 deletions
|
@ -86,6 +86,11 @@ const defaultOptions = {
|
|||
value: false,
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
ignoreDestinationZoom: {
|
||||
/** @type {boolean} */
|
||||
value: false,
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
imageResourcesPath: {
|
||||
/** @type {string} */
|
||||
value: "./images/",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue