Use default colors only in forced-colors mode (bug 1778068)

This commit is contained in:
Calixte Denizet 2022-07-06 13:50:45 +02:00
parent 32d8c55642
commit fe93742c8f
3 changed files with 18 additions and 4 deletions

View file

@ -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",