Skip to content

Commit 0f09ee0

Browse files
committed
Switches: add horizontal scrollwheel mapping for switch pane
Contributes to #2835
1 parent a22843a commit 0f09ee0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pages/AuxCardsPage.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ Page {
6969
}
7070
}
7171
}
72+
WheelHandler {
73+
enabled: Qt.platform.os == "wasm" || Global.isDesktop
74+
onWheel: (event)=>{cardsView.flick(event.angleDelta.y*event.y, 0)}
75+
}
7276
}
7377

7478
}

0 commit comments

Comments
 (0)