1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-07 23:00:01 +02:00

fix: Fixed workspace switching translations when multiple insatnce with the same container exist, b=(no-bug), c=workspaces

This commit is contained in:
Mr. M 2025-05-29 08:40:54 +02:00
parent 5c6e5f7361
commit 81f7587958
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18

View file

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