mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-02 11:32:41 +00:00
Fixed workspace indicator showing if workspaces are disabled
This commit is contained in:
@@ -437,7 +437,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') {
|
||||
@media not (-moz-bool-pref: 'zen.workspaces.show-workspace-indicator') or (not (-moz-bool-pref: 'zen.workspaces.enabled')) {
|
||||
#zen-current-workspace-indicator {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -1465,6 +1465,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
const isEssential = tab.getAttribute("zen-essential") === "true";
|
||||
if (!isEssential) {
|
||||
const activeWorkspace = await parent.ZenWorkspaces.getActiveWorkspace();
|
||||
if (!activeWorkspace) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Only update last selected tab for non-essential tabs in their workspace
|
||||
if (!isEssential && workspaceID === activeWorkspace.uuid) {
|
||||
|
||||
Reference in New Issue
Block a user