Glance will now open on any pinned tab, not just essentials

This commit is contained in:
mr. m
2025-02-16 19:44:08 +01:00
parent 9bf97e78e5
commit 06e9a93d5e
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ panel[type='arrow'][animate][animate='open']::part(content) {
animation: zen-jello-animation 0.35s ease; animation: zen-jello-animation 0.35s ease;
@media (-moz-platform: macos) { @media (-moz-platform: macos) {
animation: zen-jello-animation-alt 0.35s ease; animation: zen-jello-animation-alt 0.15s ease;
} }
} }

View File

@@ -462,7 +462,7 @@
let owner = tab.owner; let owner = tab.owner;
return ( return (
owner && owner &&
owner.getAttribute('zen-essential') === 'true' && owner.pinned &&
this._lazyPref.SHOULD_OPEN_EXTERNAL_TABS_IN_GLANCE && this._lazyPref.SHOULD_OPEN_EXTERNAL_TABS_IN_GLANCE &&
owner.linkedBrowser?.docShellIsActive && owner.linkedBrowser?.docShellIsActive &&
owner.linkedBrowser?.browsingContext?.isAppTab && owner.linkedBrowser?.browsingContext?.isAppTab &&