mbari-org / vars-gridview

VARS GridView is a tool for reviewing and correcting VARS localizations in bulk.
MIT License
1 stars 0 forks source link

Autorange only on image change #40

Closed kevinsbarnard closed 7 months ago

kevinsbarnard commented 7 months ago

From Kyra:

If I am zoomed in on an observation, the viewer is jumping back to full frame when I click inside the ROI. This behavior is not what I would expect.

It seems this is happening unconditionally when the rect_clicked slot is activated. This happens when a widget is clicked in the grid view or when its corresponding bounding box is clicked in the image view.

Proposed solution: only autorange the image in the image view when the image is changed. This should prevent unexpected autoranging.