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:
parent
5c6e5f7361
commit
81f7587958
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue