fix: Fixed switching workspaces on containerized essentials, b=(no-bug), c=workspaces

This commit is contained in:
mr. m
2025-05-01 20:52:50 +02:00
parent 6250e9dfb2
commit e95363adc8

View File

@@ -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