From e95363adc82d7f968c4abbc6d91afafc08705da1 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Thu, 1 May 2025 20:52:50 +0200 Subject: [PATCH] fix: Fixed switching workspaces on containerized essentials, b=(no-bug), c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index 458617e22..743747bce 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -1946,7 +1946,8 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature { nextWorkspaceContextId !== workspaceContextId && offsetPixels && this.containerSpecificEssentials && - container.getAttribute('container') == nextWorkspaceContextId + (container.getAttribute('container') == nextWorkspaceContextId || + container.getAttribute('container') == workspaceContextId) ) { container.removeAttribute('hidden'); // Animate from the currently selected workspace