From 6fcfdeba87dd6b0336e8d953a4c8715f1cf50b02 Mon Sep 17 00:00:00 2001 From: Brian Lambert Date: Mon, 29 Sep 2025 14:02:53 -0700 Subject: [PATCH] Do not invert deltaX / deltaY in wheelHandler when the shift key is down --- .../browser/positronDataGrid/components/dataGridWaffle.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/vs/workbench/browser/positronDataGrid/components/dataGridWaffle.tsx b/src/vs/workbench/browser/positronDataGrid/components/dataGridWaffle.tsx index c980ef3d7ffc..c9d52a17a06f 100644 --- a/src/vs/workbench/browser/positronDataGrid/components/dataGridWaffle.tsx +++ b/src/vs/workbench/browser/positronDataGrid/components/dataGridWaffle.tsx @@ -541,11 +541,6 @@ export const DataGridWaffle = forwardRef((_: unknown, ref) => { } } - // When the user is holding the shift key, invert delta X and delta Y. - if (e.shiftKey) { - [deltaX, deltaY] = [deltaY, deltaX]; - } - // If the alt key is pressed, scroll by 10 times the delta X and delta Y. if (e.altKey) { deltaX *= 10;