mirror of
https://github.com/zen-browser/desktop.git
synced 2025-11-13 13:59:16 +00:00
chore: Updated to firefox 142.0, p=#9870
* chore: Updateed to firefox 142.0, b=no-bug, c=l10n, folders * chore: Finish updating to firefox, b=no-bug, c=tabs * chore: Fixed mods builds, b=no-bug, c=mods * feat: Small changes to tabs layout, b=no-bug, c=tabs, compact-mode, folders, workspaces * test: Fixed tests, b=no-bug, c=scripts, tests, folders * test: Fixed tests, b=no-bug, c=tabs, tests, welcome
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
diff --git a/browser/components/tabbrowser/content/tab.js b/browser/components/tabbrowser/content/tab.js
|
||||
index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d678dd81594 100644
|
||||
index f261f0f2c7945cbdb41e5d1b6067a8db38bef117..32e21e1295aa508a2b8dc6b8a0ea4d678dd81594 100644
|
||||
--- a/browser/components/tabbrowser/content/tab.js
|
||||
+++ b/browser/components/tabbrowser/content/tab.js
|
||||
@@ -21,6 +21,7 @@
|
||||
@@ -42,11 +42,13 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -224,7 +227,19 @@
|
||||
@@ -224,9 +227,19 @@
|
||||
}
|
||||
|
||||
get visible() {
|
||||
- return this.isOpen && !this.hidden && !this.group?.collapsed;
|
||||
- return (
|
||||
- this.isOpen && !this.hidden && (!this.group?.collapsed || this.selected)
|
||||
- );
|
||||
+ if (!this.isOpen || this.hidden || this.hasAttribute("zen-empty-tab")) {
|
||||
+ return false;
|
||||
+ }
|
||||
@@ -63,7 +65,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
}
|
||||
|
||||
get hidden() {
|
||||
@@ -295,7 +310,7 @@
|
||||
@@ -297,7 +310,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -72,7 +74,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
}
|
||||
|
||||
get lastAccessed() {
|
||||
@@ -372,8 +387,11 @@
|
||||
@@ -374,8 +387,11 @@
|
||||
}
|
||||
|
||||
get group() {
|
||||
@@ -86,7 +88,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -467,6 +485,8 @@
|
||||
@@ -469,6 +485,8 @@
|
||||
this.style.MozUserFocus = "ignore";
|
||||
} else if (
|
||||
event.target.classList.contains("tab-close-button") ||
|
||||
@@ -95,7 +97,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
event.target.classList.contains("tab-icon-overlay") ||
|
||||
event.target.classList.contains("tab-audio-button")
|
||||
) {
|
||||
@@ -521,6 +541,10 @@
|
||||
@@ -523,6 +541,10 @@
|
||||
this.style.MozUserFocus = "";
|
||||
}
|
||||
|
||||
@@ -106,7 +108,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
on_click(event) {
|
||||
if (event.button != 0) {
|
||||
return;
|
||||
@@ -569,6 +593,7 @@
|
||||
@@ -571,6 +593,7 @@
|
||||
)
|
||||
);
|
||||
} else {
|
||||
@@ -114,7 +116,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
gBrowser.removeTab(this, {
|
||||
animate: true,
|
||||
triggeringEvent: event,
|
||||
@@ -581,6 +606,14 @@
|
||||
@@ -583,6 +606,14 @@
|
||||
// (see tabbrowser-tabs 'click' handler).
|
||||
gBrowser.tabContainer._blockDblClick = true;
|
||||
}
|
||||
@@ -129,7 +131,7 @@ index e5509953509c4da8756e36a0792f76814e24ba0c..32e21e1295aa508a2b8dc6b8a0ea4d67
|
||||
}
|
||||
|
||||
on_dblclick(event) {
|
||||
@@ -604,6 +637,8 @@
|
||||
@@ -606,6 +637,8 @@
|
||||
animate: true,
|
||||
triggeringEvent: event,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user