mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 05:35:29 +02:00
Reorder default placements for toolbar buttons in ZenCustomizableUI and update patch for customizable UI
This commit is contained in:
parent
6d5dcbe89f
commit
e086cf56fc
2 changed files with 11 additions and 2 deletions
|
@ -9,7 +9,7 @@ export var ZenCustomizableUI = new (class {
|
|||
'zen-sidebar-top-buttons',
|
||||
{
|
||||
type: this.TYPE_TOOLBAR,
|
||||
defaultPlacements: ['zen-sidepanel-button', 'preferences-button', 'zen-expand-sidebar-button'],
|
||||
defaultPlacements: ['preferences-button', 'zen-expand-sidebar-button', 'zen-sidepanel-button'],
|
||||
defaultCollapsed: null,
|
||||
},
|
||||
true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/browser/components/customizableui/CustomizableUI.sys.mjs b/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
index 989e69245aeb1185125752db6b9c58e462d554e4..c297a47dc7685c2dd6ca9a9a832b204ca1da22e2 100644
|
||||
index 989e69245aeb1185125752db6b9c58e462d554e4..a4825653b48aa5012e58a277c862caaf0e37abab 100644
|
||||
--- a/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
+++ b/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
@@ -13,6 +13,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
|
||||
|
@ -37,6 +37,15 @@ index 989e69245aeb1185125752db6b9c58e462d554e4..c297a47dc7685c2dd6ca9a9a832b204c
|
|||
this.registerArea(
|
||||
CustomizableUI.AREA_NAVBAR,
|
||||
{
|
||||
@@ -338,7 +340,7 @@ var CustomizableUIInternal = {
|
||||
defaultPlacements: navbarPlacements,
|
||||
verticalTabsDefaultPlacements: [
|
||||
"firefox-view-button",
|
||||
- "new-tab-button",
|
||||
+// "new-tab-button",
|
||||
"alltabs-button",
|
||||
],
|
||||
defaultCollapsed: false,
|
||||
@@ -363,10 +365,10 @@ var CustomizableUIInternal = {
|
||||
{
|
||||
type: CustomizableUI.TYPE_TOOLBAR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue