alabamagan / NIfTI-gridview

A pyQt interface to visualize NIfTI images as grided images.
MIT License
6 stars 2 forks source link

Image display shifts when switching image files #5

Closed Adamtk22 closed 1 year ago

Adamtk22 commented 2 years ago

Image display shifts by itself when switching image files

Replication steps

  1. Load image
  2. Change display size or display center position
  3. Load another image

First image Capture

Second image Capture2

alabamagan commented 2 years ago

Does moving the bars reset the view to correct parameters?

Adamtk22 commented 1 year ago

This issue can be fixed by adding sliderReleased signals to the horizontal sliders

see https://github.com/Adamtk22/NIfTI-gridview-dev/commit/23774dbf1a25e2ad87aab6d0f05bdd54616594a3

alabamagan commented 1 year ago

Could you make a PR for this fix?

Adamtk22 commented 1 year ago

https://github.com/alabamagan/NIfTI-gridview/pull/3

this pull request should have the commit