mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 18:06:35 +00:00
Update firefox version to 132.0
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/browser/components/tabbrowser/content/tab-hover-preview.mjs b/browser/components/tabbrowser/content/tab-hover-preview.mjs
|
||||
index b07dba3e060dd730e603997b2c374f218a1eb591..412d35a263d1e6a789927206a506c184a5ac0d46 100644
|
||||
--- a/browser/components/tabbrowser/content/tab-hover-preview.mjs
|
||||
+++ b/browser/components/tabbrowser/content/tab-hover-preview.mjs
|
||||
@@ -7,7 +7,7 @@ var { XPCOMUtils } = ChromeUtils.importESModule(
|
||||
);
|
||||
|
||||
const POPUP_OPTIONS = {
|
||||
- position: "bottomleft topleft",
|
||||
+ position: "topright topleft",
|
||||
x: 0,
|
||||
y: -2,
|
||||
};
|
@@ -131,14 +131,6 @@ index c89ae2cbb978d6218bd56a059c5ca1e371231607..15cc611a9b08227abcf2e0137ed9e82a
|
||||
// Handle requests for synchronously removing an already
|
||||
// asynchronously closing tab.
|
||||
if (!animate && aTab.closing) {
|
||||
@@ -4198,6 +4246,7 @@
|
||||
isLastTab ||
|
||||
aTab.pinned ||
|
||||
aTab.hidden ||
|
||||
+ true ||
|
||||
this._removingTabs.size >
|
||||
3 /* don't want lots of concurrent animations */ ||
|
||||
!aTab.hasAttribute(
|
||||
@@ -5131,10 +5180,10 @@
|
||||
SessionStore.deleteCustomTabValue(aTab, "hiddenBy");
|
||||
},
|
||||
|
@@ -24,7 +24,7 @@ index 137f1a3854f10aca0d0e3233a82c1c18fbdc2823..419e0ad674b76454e6e3e1ed4ae1a854
|
||||
|
||||
_handleTabSelect(aInstant) {
|
||||
let selectedTab = this.selectedItem;
|
||||
- if (this.hasAttribute("overflow")) {
|
||||
- if (this.overflowing) {
|
||||
- this.arrowScrollbox.ensureElementIsVisible(selectedTab, aInstant);
|
||||
- }
|
||||
+ this.arrowScrollbox.ensureElementIsVisible(selectedTab, aInstant);
|
||||
@@ -55,9 +55,9 @@ index 137f1a3854f10aca0d0e3233a82c1c18fbdc2823..419e0ad674b76454e6e3e1ed4ae1a854
|
||||
// keep tabs the same width
|
||||
tab.style.transition = "none";
|
||||
@@ -1558,9 +1560,9 @@
|
||||
let verticalTabsContainer = document.getElementById(
|
||||
"vertical-pinned-tabs-container"
|
||||
);
|
||||
let newTabButton = document.getElementById("newtab-button-container");
|
||||
- let numPinned = gBrowser._numPinnedTabs;
|
||||
+ let numPinned = gBrowser._numVisiblePinTabs;
|
||||
|
||||
@@ -66,15 +66,6 @@ index 137f1a3854f10aca0d0e3233a82c1c18fbdc2823..419e0ad674b76454e6e3e1ed4ae1a854
|
||||
let tabs = this._getVisibleTabs();
|
||||
for (let i = 0; i < numPinned; i++) {
|
||||
tabs[i].style.marginInlineStart = "";
|
||||
@@ -1568,7 +1570,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- newTabButton.toggleAttribute("showborder", gBrowser._numPinnedTabs !== 0);
|
||||
+ newTabButton.toggleAttribute("showborder", gBrowser._numVisiblePinTabs !== 0);
|
||||
this.style.removeProperty("--tab-overflow-pinned-tabs-width");
|
||||
}
|
||||
|
||||
@@ -1589,7 +1591,7 @@
|
||||
|
||||
_positionPinnedTabs() {
|
||||
@@ -82,8 +73,8 @@ index 137f1a3854f10aca0d0e3233a82c1c18fbdc2823..419e0ad674b76454e6e3e1ed4ae1a854
|
||||
- let numPinned = gBrowser._numPinnedTabs;
|
||||
+ let numPinned = gBrowser._numVisiblePinTabs;
|
||||
let absPositionHorizontalTabs =
|
||||
this.hasAttribute("overflow") &&
|
||||
tabs.length > numPinned &&
|
||||
this.overflowing && tabs.length > numPinned && numPinned > 0;
|
||||
|
||||
@@ -1672,7 +1674,7 @@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user