diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 865b52b50..12f5ca3a8 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -300,7 +300,7 @@ class WorkspacesView extends WorkspacesViewBase { const vertical = workspaceManager.layout_rows === -1; const rtl = this.text_direction === Clutter.TextDirection.RTL; const progress = vertical || !rtl - ? adj.value : adj.upper - adj.value; + ? adj.value : adj.upper - adj.value - 1; for (const ws of this._workspaces) { if (vertical)