Refactor workspace tab transformations and update tab selection logic

This commit is contained in:
mr. M
2025-02-13 17:32:33 +01:00
parent d6acd4deb8
commit a5ae4077cf

View File

@@ -1544,7 +1544,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
await Promise.all(animations);
if (tabToSelect) {
tabToSelect._visuallySelected = false;
tabToSelect._visuallySelected = true;
}
this._animatingChange = false;
}
@@ -1592,7 +1592,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
// Show if tab belongs to current workspace
return true;
return tabWorkspaceId === workspaceUuid;
}
async _handleTabSelection(window, onInit, containerId, workspaces, previousWorkspaceId) {