mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Allow to change the toolbar height when changing the pref toolbar.density in Firefox (bug 1171799)
It's a first step to just dispatch the pref change to the toolbar. The second one, to effectively use it, will come after PR #18385 is merged.
This commit is contained in:
parent
e777ae2258
commit
0910f17a58
4 changed files with 32 additions and 3 deletions
|
@ -95,6 +95,11 @@ const defaultOptions = {
|
|||
value: true,
|
||||
kind: OptionKind.BROWSER,
|
||||
},
|
||||
toolbarDensity: {
|
||||
/** @type {number} */
|
||||
value: 0, // 0 = "normal", 1 = "compact", 2 = "touch"
|
||||
kind: OptionKind.BROWSER,
|
||||
},
|
||||
|
||||
annotationEditorMode: {
|
||||
/** @type {number} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue