Closed ypnos closed 9 years ago
In ScaledView, panning should be restricted like it is also done in Viewport.
At the location here:
Maybe scaler.map(pixmap->rect()) and use contains() on sceneRect() to determine four bools, then use above logic.
Also ignore mouse movement outside of the pixmap. It can have irritating effects.
Implemented in #20
In ScaledView, panning should be restricted like it is also done in Viewport.
At the location here:
Maybe scaler.map(pixmap->rect()) and use contains() on sceneRect() to determine four bools, then use above logic.