NPill: fix broken mouse-wheel control

This commit is contained in:
ItsLemmy 2025-09-14 23:42:21 -04:00
parent b8b97c46a0
commit 8935f9a0f9
3 changed files with 4 additions and 8 deletions

View file

@ -60,7 +60,7 @@ Item {
onClicked: root.clicked()
onRightClicked: root.rightClicked()
onMiddleClicked: root.middleClicked()
onWheel: root.wheel
onWheel: delta => root.wheel(delta)
}
}
@ -85,7 +85,7 @@ Item {
onClicked: root.clicked()
onRightClicked: root.rightClicked()
onMiddleClicked: root.middleClicked()
onWheel: root.wheel
onWheel: delta => root.wheel(delta)
}
}
}

View file

@ -243,9 +243,7 @@ Item {
root.middleClicked()
}
}
onWheel: wheel => {
root.wheel(wheel.angleDelta.y)
}
onWheel: wheel => root.wheel(wheel.angleDelta.y)
}
function show() {

View file

@ -284,9 +284,7 @@ Item {
root.middleClicked()
}
}
onWheel: wheel => {
root.wheel(wheel.angleDelta.y)
}
onWheel: wheel => root.wheel(wheel.angleDelta.y)
}
function show() {