Kitware / paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
http://kitware.github.io/paraviewweb/
BSD 3-Clause "New" or "Revised" License
163 stars 50 forks source link

Fix the mouse wheel <-> distance conversion. #522

Closed yasushi-saito closed 3 years ago

yasushi-saito commented 3 years ago

Before this change, the mouse-wheel click was equivalent to moving the mouse pointer 120 pixels, where 120 is the hard-code constant for a single mousewheel click event. There were two problems with this setting: