mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-30 12:21:55 +00:00
refactor: update styling and structure of Zen UI components; remove deprecated toolbar styles and adjust margins for better layout
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/browser/components/customizableui/CustomizableUI.sys.mjs b/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
index 989e69245aeb1185125752db6b9c58e462d554e4..a4825653b48aa5012e58a277c862caaf0e37abab 100644
|
||||
index 989e69245aeb1185125752db6b9c58e462d554e4..7f03aa20386ace32a340131a84c484865883905f 100644
|
||||
--- a/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
+++ b/browser/components/customizableui/CustomizableUI.sys.mjs
|
||||
@@ -13,6 +13,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
|
||||
@@ -78,13 +78,11 @@ index 989e69245aeb1185125752db6b9c58e462d554e4..a4825653b48aa5012e58a277c862caaf
|
||||
// For toolbars that need it, mark as dirty.
|
||||
let defaultPlacements = areaProperties.get("defaultPlacements");
|
||||
if (
|
||||
@@ -3521,6 +3527,9 @@ var CustomizableUIInternal = {
|
||||
gSeenWidgets.add(widgetId);
|
||||
}
|
||||
}
|
||||
+
|
||||
+
|
||||
+
|
||||
if (gSeenWidgets.size || gNewElementCount) {
|
||||
gDirty = true;
|
||||
this.saveState();
|
||||
@@ -3603,6 +3609,7 @@ var CustomizableUIInternal = {
|
||||
if (area.get("type") == CustomizableUI.TYPE_TOOLBAR) {
|
||||
let defaultCollapsed = area.get("defaultCollapsed");
|
||||
let win = areaNode.ownerGlobal;
|
||||
+ win.gZenVerticalTabsManager._updateEvent();
|
||||
if (defaultCollapsed !== null) {
|
||||
win.setToolbarVisibility(
|
||||
areaNode,
|
||||
|
||||
Reference in New Issue
Block a user