Skip to content

Commit 81f7587

Browse files
committed
fix: Fixed workspace switching translations when multiple insatnce with the same container exist, b=(no-bug), c=workspaces
1 parent 5c6e5f7 commit 81f7587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zen/workspaces/ZenWorkspaces.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2319,7 +2319,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
23192319

23202320
const newTransform = `translateX(${newOffset}%)`;
23212321
let existingTransform = `translateX(${existingOffset}%)`;
2322-
if (container.style.transform) {
2322+
if (container.style.transform && container.style.transform !== 'none') {
23232323
existingTransform = container.style.transform;
23242324
}
23252325
if (shouldAnimate) {

0 commit comments

Comments
 (0)