From 81f7587958eea06559975a7ec4ecbc56e337bce6 Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Thu, 29 May 2025 08:40:54 +0200 Subject: [PATCH] fix: Fixed workspace switching translations when multiple insatnce with the same container exist, b=(no-bug), c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index 1b36df064..2baeecef3 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -2319,7 +2319,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature { const newTransform = `translateX(${newOffset}%)`; let existingTransform = `translateX(${existingOffset}%)`; - if (container.style.transform) { + if (container.style.transform && container.style.transform !== 'none') { existingTransform = container.style.transform; } if (shouldAnimate) {