davidfig/pixi-viewport

Question: How to use Cmd+Scroll for zooming when on a Mac?

Opened this issue · 0 comments

I have a wheelZoom setup where I am setting wheelZoom to true for scroll-wheels or false for trackpads.
When it is set to false, I can either pinch zoom or use Ctrl+Scroll.

Is there any way to also allow Cmd+Scroll to be used for zooming when on a Mac? It might be simple, but I don't really see how to hook this up. Any ideas?