From dba51191aebbfdfc027e4259b6c446fe5369982f Mon Sep 17 00:00:00 2001 From: tillvit Date: Fri, 22 Nov 2024 15:14:41 -0500 Subject: [PATCH] Fix invert scroll in reverse when scroll snap is on --- app/src/chart/ChartManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/chart/ChartManager.ts b/app/src/chart/ChartManager.ts index 9ed4835f..136417a0 100644 --- a/app/src/chart/ChartManager.ts +++ b/app/src/chart/ChartManager.ts @@ -277,7 +277,7 @@ export class ChartManager { newbeat = this.beat + delta } else { if (Options.chart.scroll.scrollSnapEveryScroll) { - if (event.deltaY < 0) { + if (event.deltaY < 0 != Options.chart.scroll.invertReverseScroll) { newbeat = Math.round((this.beat - snap) / snap) * snap } else { newbeat = Math.round((this.beat + snap) / snap) * snap