flimshaw / Valiant360

An in-browser 360 degree panorama video player.
http://flimshaw.github.io/Valiant360/
MIT License
777 stars 151 forks source link

Disable Zoom #35

Open iraritchiemeek opened 8 years ago

iraritchiemeek commented 8 years ago

Is there a way to disable zoom?

I'd like to set it to a constant FOV and re-enable scrolling.

How would I do this?

Thanks

roymendezc commented 8 years ago

Jquery: $("#canvasId").bind("wheel mousewheel", function(e) {e.preventDefault()});