Using the reset view functionality correctly causes the image to recenter, but has the side-effect that navigating to another slice afterwards will have that image flipped. Recentering again, re-flips the image.
To reproduce: Open the app, click on recenter image, and navigate to another slide.
since the larger y-value is set to the first position elsewhere in the code. Testing this switch seems to resolve the problem, but there may be side-effects elsewhere.
@danton267 I think you may have more insight on this?
Using the reset view functionality correctly causes the image to recenter, but has the side-effect that navigating to another slice afterwards will have that image flipped. Recentering again, re-flips the image.
To reproduce: Open the app, click on recenter image, and navigate to another slide.
I have the hunch that the composition of the
relayout_data
here /callbacks/image_viewer.py#L502 hasand should instead be
since the larger y-value is set to the first position elsewhere in the code. Testing this switch seems to resolve the problem, but there may be side-effects elsewhere.
@danton267 I think you may have more insight on this?