diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/DatePicker.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/DatePicker.qml b/components/DatePicker.qml index 8dd7347c..27429bf4 100644 --- a/components/DatePicker.qml +++ b/components/DatePicker.qml @@ -269,6 +269,11 @@ Item { MouseArea { anchors.fill: parent + scrollGestureEnabled: false + onWheel: { + if (wheel.angleDelta.y > 0) return calendar.showPreviousMonth(); + if (wheel.angleDelta.y < 0) return calendar.showNextMonth(); + } } Rectangle { |
