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:
Calixte Denizet 2024-07-05 17:14:51 +02:00
parent e777ae2258
commit 0910f17a58
4 changed files with 32 additions and 3 deletions

View file

@ -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} */