cornerstonejs / react-cornerstone-viewport

Cornerstone medical image viewport component for React
https://react.cornerstonejs.org/
MIT License
96 stars 74 forks source link

Handle null in imageIdIndex #74

Closed ckedar closed 4 years ago

ckedar commented 4 years ago

imageIdIndex == null will interpreted as no change is no change in currently selected image.

This change is required for render optimisation in OHIF in commit https://github.com/OHIF/Viewers/pull/1543/commits/105a7a551e2cbd7709b70bd14433fc9616367a08, part of PR https://github.com/OHIF/Viewers/pull/1543

ohif-bot commented 4 years ago

:tada: This PR is included in version 2.3.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket: