From 873cb246427c79c7c0c15af810be40bd16992839 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 17 Apr 2025 16:28:13 +0200 Subject: [PATCH] fix calendar scroll --- .../modules/sidebarRight/calendar/CalendarWidget.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/quickshell/modules/sidebarRight/calendar/CalendarWidget.qml b/.config/quickshell/modules/sidebarRight/calendar/CalendarWidget.qml index 13eb59182..51b505e5c 100644 --- a/.config/quickshell/modules/sidebarRight/calendar/CalendarWidget.qml +++ b/.config/quickshell/modules/sidebarRight/calendar/CalendarWidget.qml @@ -28,9 +28,9 @@ Item { MouseArea { anchors.fill: parent onWheel: (event) => { - if (wheel.angleDelta.y > 0) { + if (event.angleDelta.y > 0) { monthShift--; - } else if (wheel.angleDelta.y < 0) { + } else if (event.angleDelta.y < 0) { monthShift++; } }