Some interesting ideas here.
One thing I noted in a quick play with it on Windows: if you right-drag outside the window, it doesn't get the mouse-up event and you have to right click in the window again to stop it panning.
One thing I noted in a quick play with it on Windows: if you right-drag outside the window, it doesn't get the mouse-up event and you have to right click in the window again to stop it panning.