From 28540a3cf1a7199a64732e0608cebfe9685c8aef Mon Sep 17 00:00:00 2001 From: Olivier Le Doeuff Date: Thu, 12 Sep 2024 11:11:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Parameter=20"wheel"=20&=20"mouse?= =?UTF-8?q?"=20is=20not=20declared?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ZoomableFlickable.qml:230:11 Parameter "wheel" is not declared --- qml/Qaterial/ZoomableFlickable.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/Qaterial/ZoomableFlickable.qml b/qml/Qaterial/ZoomableFlickable.qml index 497488b2..b806ec4c 100644 --- a/qml/Qaterial/ZoomableFlickable.qml +++ b/qml/Qaterial/ZoomableFlickable.qml @@ -227,7 +227,7 @@ Item sourceComponent: MouseArea { scrollGestureEnabled: false // 2-finger-flick gesture should passs through to the Flickable - onWheel: + onWheel: function(wheel) { // Reset animation to fast because user know what he is doing _flickable.zoomLatency = _flickable.wheelZoomLatency @@ -236,7 +236,7 @@ Item // Make sure _flickable is anchored properly after zoom _flickable.returnToBounds() } // onWheel - onDoubleClicked: + onDoubleClicked: function(mouse) { // Reset animation speed to slow for user to understand better what's happening _flickable.zoomLatency = _flickable.unZoomLatency