mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-16 14:56:14 +00:00
feat: Make sure switching woprkspaces from browsers always selects the tab first, b=(no-bug), c=common, workspaces
This commit is contained in:
@@ -3299,6 +3299,8 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
|
||||
this._workspaceChangeInProgress = true;
|
||||
try {
|
||||
this._lastSelectedWorkspaceTabs[workspaceToSwitch.uuid] =
|
||||
gZenGlanceManager.getTabOrGlanceParent(tab);
|
||||
await this.changeWorkspace(workspaceToSwitch);
|
||||
} finally {
|
||||
this._workspaceChangeInProgress = false;
|
||||
|
Reference in New Issue
Block a user