Tmktahu / atlas

Repo for Atlas, an interactive 3D map for the game Starbase.
GNU General Public License v3.0
10 stars 1 forks source link

Feature Request - Tie Map Zooming to Pinch-Motions on Trackpads #83

Open Tmktahu opened 2 years ago

Tmktahu commented 2 years ago

Is your feature request related to a problem? Please describe. Trackpad users tend to use pinch-motions to zoom things. But doing this in Atlas just zooms the entire page.

Describe the solution you'd like I want to capture pinch-zooming motions and connect them to zooming the map itself.

Tmktahu commented 2 years ago

After doing some research on pinch zooming shenanigans, it's going to more complex than anticipated.

https://github.com/manuelstofer/pinchzoom looks like my best bet, but I need to tie it into the orbital controls correctly, which will take some fiddling. I also need to set up a dev environment on my laptop in order to test properly.