diff options
Diffstat (limited to 'modules/osd')
| -rw-r--r-- | modules/osd/Content.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/osd/Content.qml b/modules/osd/Content.qml index 707695d..6870a57 100644 --- a/modules/osd/Content.qml +++ b/modules/osd/Content.qml @@ -31,7 +31,7 @@ Item { implicitWidth: Config.osd.sizes.sliderWidth implicitHeight: Config.osd.sizes.sliderHeight - onWheel: event => { + function onWheel(event: WheelEvent) { if (event.angleDelta.y > 0) Audio.incrementVolume(); else if (event.angleDelta.y < 0) @@ -55,7 +55,7 @@ Item { implicitWidth: Config.osd.sizes.sliderWidth implicitHeight: Config.osd.sizes.sliderHeight - onWheel: event => { + function onWheel(event: WheelEvent) { if (event.angleDelta.y > 0) Audio.incrementSourceVolume(); else if (event.angleDelta.y < 0) @@ -80,7 +80,7 @@ Item { implicitWidth: Config.osd.sizes.sliderWidth implicitHeight: Config.osd.sizes.sliderHeight - onWheel: event => { + function onWheel(event: WheelEvent) { const monitor = root.monitor; if (!monitor) return; |