fix: OHIF-219 - Viewport Labels should be sequential (#1881)

This commit is contained in:
Rodrigo Antinarelli authored and GitHub committed 2020-07-10 16:06:45 +02:00
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) {