diff --git a/CHANGELOG.md b/CHANGELOG.md index 8351330..8e2b936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Version 0.1.34 - #349 Linux instructions - #347 Explicitly reference python2 in scripts - #342 Conda environment files +- #331 Box resize doing crazy things - emergency fix: restrict max zoom level - #333 Ugly error message when opening or saving a file - #330 libdmtx URL incorrect - #328 Menu commands to show cookie cutter and metadata template files diff --git a/inselect/gui/views/boxes/boxes_view.py b/inselect/gui/views/boxes/boxes_view.py index 52ceea1..3e0b69f 100644 --- a/inselect/gui/views/boxes/boxes_view.py +++ b/inselect/gui/views/boxes/boxes_view.py @@ -10,7 +10,9 @@ class BoxesView(QtGui.QGraphicsView): """Zoomable image with bounding boxes """ - MAXIMUM_ZOOM = 3 # User can't zoom in more than 1:3 + # self.absolute_zoom limited to be <= MAXIMUM_ZOOM + # 1.8 was chosen through experimentation to fix #331 + MAXIMUM_ZOOM = 1.8 viewport_changed = Signal(QRectF)