forked from Shinonome/dots-hyprland
fix calendar scroll
This commit is contained in:
@@ -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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user