stevenpetryk / mafs

React components for interactive math

Home Page:https://mafs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for limiting panning

stevenpetryk opened this issue · comments

Zooming can currently be limited, but not panning. Limiting panning would be pretty easy—would just be a matter of limiting the extent to which the camera matrix can be translated in Mafs.tsx.

Great idea! And how about limiting panning in specific direction such as left direction?