chore: Update sidebar close-on-blur preference handling

This commit is contained in:
Mauro Balades
2024-08-04 13:02:25 +02:00
parent 741cfd7af4
commit 14da8cd9e7
6 changed files with 26 additions and 7 deletions

View File

@@ -64,6 +64,11 @@ Preferences.addAll([
type: "bool",
default: true,
},
{
id: "zen.sidebar.close-on-blur",
type: "bool",
default: true,
},
{
id: "zen.view.compact",
type: "bool",

View File

@@ -45,6 +45,11 @@
<checkbox id="zenLooksAndFeelUseThemedToolbar"
data-l10n-id="zen-side-panels-enabled"
preference="zen.sidebar.enabled"/>
<hbox class="indent">
<checkbox id="zenLooksAndFeelSidebarCloseOnBlur"
data-l10n-id="zen-side-panels-close-on-blur"
preference="zen.sidebar.close-on-blur"/>
</hbox>
</groupbox>
<hbox id="zenVerticalTabsCategory"