Open coder4589 opened 7 years ago
I inverted the mouse scroll by changing if (theEvent / 120 > 0) { to if (theEvent / 120 < 0) {
It seems to work with no problems! Now WheelUp = ZoomIn / WheelDown = ZoomOut!
If there is a better alternative, please let me know! Thanks!
Mouse Inverted Demo: https://coder4589.github.io/elevatezoom-plus-coder4589/scroll-inverted.html Html Code: https://github.com/coder4589/elevatezoom-plus-coder4589/blob/master/scroll-inverted.html
still there is no change...
When I scroll up, Image Zoom out!
When I scroll down, Image Zoom In!
How can I invert that?