mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Use default colors only in forced-colors mode (bug 1778068)
This commit is contained in:
parent
32d8c55642
commit
fe93742c8f
3 changed files with 18 additions and 4 deletions
|
@ -138,6 +138,11 @@ const defaultOptions = {
|
|||
value: 16777216,
|
||||
kind: OptionKind.VIEWER,
|
||||
},
|
||||
forcePageColors: {
|
||||
/** @type {boolean} */
|
||||
value: false,
|
||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||
},
|
||||
pageColorsBackground: {
|
||||
/** @type {string} */
|
||||
value: "Canvas",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue