From 69e1602a946eacdfeca811d36c6f889df9c9c66d Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Mon, 6 May 2024 18:28:49 -0400 Subject: [PATCH] sync adjustment to current active workspace In case the workspace context has changed --- js/ui/workspacesView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 95854a06a..22ded8628 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -518,6 +518,9 @@ class WorkspacesView extends WorkspacesViewBase { this._workspaces.splice(j, 1); } + this._scrollAdjustment.value = + workspaceManager.get_active_workspace_index(); + this._updateWorkspacesState(); this._updateVisibility(); this._raiseActiveWorkspace();