You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug or a problem with the DICOM dataset I'm using - this doesn't happen on all datasets. When I resize the OHIF window the Axial view scrolls all the way to the bottom and resets the Window Levels and colormap.
privateperformResize(){constisImmediate=false;
...
// Store the current position presentations for each viewport.viewports.forEach(({id: viewportId})=>{constpresentation=this._getPositionPresentation(viewportId);// During a resize, the slice index should remain unchanged. This is a temporary fix for// a larger issue regarding the definition of slice index with slab thickness.// We need to revisit this to make it more robust and understandable.deletepresentation.viewReference.sliceIndex;this.beforeResizePositionPresentations.set(viewportId,presentation);});
...
Steps to Reproduce
Before window resize:
After:
After scrolling up - "fixes" window levels:
I noticed that the sliceIndex was less for the Axial view vs. Sagittal and Coronal:
The current behavior
See above in Steps to Reproduce
The expected behavior
The Axial view should behave like the other viewport for Sagittal and Coronal.
OHIF version
3.9.0-beta.87
OS
Windows 10/11, Mac
Node version
20.18.0
Browser
Chrome - Version 132.0.6834.83 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
Describe the Bug
Not sure if this is a bug or a problem with the DICOM dataset I'm using - this doesn't happen on all datasets. When I resize the OHIF window the Axial view scrolls all the way to the bottom and resets the Window Levels and colormap.
I see a comment in the code for
sliceIndex
:https://github.com/rapidllc/3drd-ohif-v3/commit/7624ccb5e495c0a151227a458d8d5bfb8babb22c#diff-a28c8c52c1ec95a73d2e55755c1baf5b8cfd47e511221277126c494c650ad1e5R1061
Steps to Reproduce
Before window resize:
After:
After scrolling up - "fixes" window levels:
I noticed that the sliceIndex was less for the Axial view vs. Sagittal and Coronal:
The current behavior
See above in
Steps to Reproduce
The expected behavior
The Axial view should behave like the other viewport for Sagittal and Coronal.
OHIF version
3.9.0-beta.87
OS
Windows 10/11, Mac
Node version
20.18.0
Browser
Chrome - Version 132.0.6834.83 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: