mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-16 05:40:27 +00:00
gh-13093: Fixed double seperator lines in context menu (gh-13094)
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
diff --git a/browser/components/customizableui/ToolbarContextMenu.sys.mjs b/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
index d5fd707b98e4b163a624c97ff4a8f2574e0b0180..32360b11270d9dad4b83229428932e598f69e774 100644
|
||||
index d5fd707b98e4b163a624c97ff4a8f2574e0b0180..a3ac939aa9133a678396c16bc6746444a3f3ac1f 100644
|
||||
--- a/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
+++ b/browser/components/customizableui/ToolbarContextMenu.sys.mjs
|
||||
@@ -183,7 +183,7 @@ export var ToolbarContextMenu = {
|
||||
|
||||
let showTabStripItems = toolbarItem?.id == "tabbrowser-tabs";
|
||||
let isVerticalTabStripMenu =
|
||||
- showTabStripItems && toolbarItem.parentElement.id == "vertical-tabs";
|
||||
+ showTabStripItems && toolbarItem.parentElement.id == "TabsToolbar-customization-target";
|
||||
|
||||
if (aInsertPoint) {
|
||||
aInsertPoint.hidden = isVerticalTabStripMenu;
|
||||
@@ -243,10 +243,7 @@ export var ToolbarContextMenu = {
|
||||
// Show/hide sidebar and vertical tabs menu items
|
||||
let sidebarRevampEnabled = Services.prefs.getBoolPref("sidebar.revamp");
|
||||
|
||||
Reference in New Issue
Block a user