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++; } }