JinJianQi commented on PR #17288: URL: https://github.com/apache/echarts/pull/17288#issuecomment-1687471246
Sorry for the very late reply, and you guys are awesome. @Chaoses-Ib I haven't found a suitable method to accurately differentiate actions from the trackpad and the mouse. From the wheel event perspective, vertical scrolling with two fingers on the trackpad is exactly the same as using the mouse wheel. So it seems to me that it's not possible to use the trackpad for movement and the mouse wheel for zooming (because, in my view, their wheel events are the same). @100pah Since this parameter includes both move and zoom, it will definitely affect zoomOnMouseWheel and moveOnMouseWheel. My current approach is that if natureMoveOnMouseWheel is set to true, then ignore zoomOnMouseWheel and moveOnMouseWheel. If the user wants to use zoomOnMouseWheel and moveOnMouseWheel, they need to set natureMoveOnMouseWheel to false. Can you help me review this again? @100pah -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
