mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-03 23:07:26 -04:00
Merge pull request #3533
39d561d DatePicker: support mouse wheel to navigate months (rating89us)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user