bevy_pancam icon indicating copy to clipboard operation
bevy_pancam copied to clipboard

Limit viewable area

Open johanhelsing opened this issue 1 year ago • 0 comments

As requested in #4, it would be nice if it was possible to limit the area the camera is able to view.

The point of this is to limit so you can't see something outside of the map for instance.

This needs to be handled both when zooming out and when panning.

Also, like max_scale, it should be an opt-in feature.

johanhelsing avatar Jul 28 '22 10:07 johanhelsing