fix: OHIF-219 - Viewport Labels should be sequential (#1881)
This commit is contained in:
1 parent
066ba97bc9
commit
b28a70520e
6 files changed
+57
-29
No files matched your search
@@ -245,10 +245,7 @@ function TrackedCornerstoneViewport({
|
||||
setIsTracked(!isTracked);
|
||||
}
|
||||
|
||||
const label =
|
||||
viewports.length > 1
|
||||
? _viewportLabels[firstViewportIndexWithMatchingDisplaySetUid]
|
||||
: '';
|
||||
const label = viewports.length > 1 ? _viewportLabels[viewportIndex] : '';
|
||||
|
||||
function switchMeasurement(direction) {
|
||||
if (!element) {
|
||||
|
||||
Reference in new issue
Block a user