tnc-ca-geo / animl-frontend

A frontend web app for viewing & labeling camera trap data by The Nature Conservancy.
https://animl.camera
Other
16 stars 0 forks source link

Fix bounding box location bug #108

Closed nathanielrindlaub closed 1 year ago

nathanielrindlaub commented 1 year ago

It looks like when you jump between images of different dimensions (e.g., from a Ridgetec photo to a Buckeye), the bounding box is offset on its Y axis.

nathanielrindlaub commented 1 year ago

Done (I hope). I think the root of this was that Resize Observer was doing some odd things (on occasion, it would not fire when the height of the FullSizeImage container changed until you moved the mouse anywhere in the viewport??). Not totally sure what was up but it seemed like a browser bug.