From bed0ea7ed86b47e6e7426b687afbdbff08054c23 Mon Sep 17 00:00:00 2001 From: Peter Fajdiga Date: Sun, 10 Dec 2023 07:36:27 +0100 Subject: [PATCH] Actions: make `gridScrollFocused` center focused column again --- src/Actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions.ts b/src/Actions.ts index 1d6f3c6..c358144 100644 --- a/src/Actions.ts +++ b/src/Actions.ts @@ -214,7 +214,7 @@ namespace Actions { gridScrollFocused: () => { world.doIfTiledFocused(true, (world, desktopManager, window, column, grid) => { - grid.desktop.scrollToColumn(column); + grid.desktop.scrollCenterRange(column); }) },