Open ronzim opened 3 weeks ago
https://github.com/dvisionlab/Larvitar/blob/908f2649bb2ccbad23c5499e4878cb3e24b6b5f3/imaging/tools/main.ts#L98C5-L101C48
stackData.currentImageIdIndex = stackData.currentImageIdIndex < imageIdIndex ? stackData.currentImageIdIndex : (stackData.currentImageIdIndex += 1);
If I am on slice 1 and I want to set slice 0, this prevent me to do that. I cannot reach slice 0. currentImageIdIndex is used to scroll the imageIds array, so il must permit to reach 0, otherwise I never see the first slice.
@daron1337 Since the issue was closed without any activity apparently being carried out, it would be nice to write here why
https://github.com/dvisionlab/Larvitar/blob/908f2649bb2ccbad23c5499e4878cb3e24b6b5f3/imaging/tools/main.ts#L98C5-L101C48
If I am on slice 1 and I want to set slice 0, this prevent me to do that. I cannot reach slice 0. currentImageIdIndex is used to scroll the imageIds array, so il must permit to reach 0, otherwise I never see the first slice.