Skip to content

Commit a9fd9ad

Browse files
authored
Do not invert deltaX / deltaY in wheelHandler when the shift key is down (#9660)
1 parent 0479c57 commit a9fd9ad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/vs/workbench/browser/positronDataGrid/components/dataGridWaffle.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,6 @@ export const DataGridWaffle = forwardRef<HTMLDivElement>((_: unknown, ref) => {
541541
}
542542
}
543543

544-
// When the user is holding the shift key, invert delta X and delta Y.
545-
if (e.shiftKey) {
546-
[deltaX, deltaY] = [deltaY, deltaX];
547-
}
548-
549544
// If the alt key is pressed, scroll by 10 times the delta X and delta Y.
550545
if (e.altKey) {
551546
deltaX *= 10;

0 commit comments

Comments
 (0)