fix calendar scroll

This commit is contained in:
end-4
2025-04-17 16:28:13 +02:00
parent 1d9b543f57
commit 873cb24642
@@ -28,9 +28,9 @@ Item {
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onWheel: (event) => { onWheel: (event) => {
if (wheel.angleDelta.y > 0) { if (event.angleDelta.y > 0) {
monthShift--; monthShift--;
} else if (wheel.angleDelta.y < 0) { } else if (event.angleDelta.y < 0) {
monthShift++; monthShift++;
} }
} }