mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 23:06:30 +00:00
Glance will now open on any pinned tab, not just essentials
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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 &&
|
||||||
|
Reference in New Issue
Block a user