OHIF-311: Set nav arrows as active for all viewports (#1930)

This commit is contained in:
Igor Octaviano authored and GitHub committed 2020-07-28 10:44:48 +02:00
1 parent 3d48a2a2c7
commit 4d1d73b89c
2 files changed
+4 -8

No files matched your search

@@ -427,7 +427,6 @@ function OHIFCornerstoneSRViewport({
}}
onSeriesChange={onMeasurementChange}
onHydrationClick={hydrateMeasurementService}
showNavArrows={viewportIndex === activeViewportIndex}
studyData={{
label,
isTracked: false,
@@ -448,8 +447,8 @@ function OHIFCornerstoneSRViewport({
spacing:
PixelSpacing && PixelSpacing.length
? `${PixelSpacing[0].toFixed(2)}mm x ${PixelSpacing[1].toFixed(
2
)}mm`
2
)}mm`
: '',
scanner: ManufacturerModelName || '',
},
@@ -298,8 +298,6 @@ function TrackedCornerstoneViewport({
);
}
const showNavArrows = isTracked && viewportIndex === activeViewportIndex;
// TODO -> disabled double click for now: onDoubleClick={_onDoubleClick}
return (
@@ -310,7 +308,6 @@ function TrackedCornerstoneViewport({
evt.preventDefault();
}}
onSeriesChange={direction => switchMeasurement(direction)}
showNavArrows={showNavArrows}
studyData={{
label,
isTracked,
@@ -330,8 +327,8 @@ function TrackedCornerstoneViewport({
spacing:
PixelSpacing && PixelSpacing.length
? `${PixelSpacing[0].toFixed(2)}mm x ${PixelSpacing[1].toFixed(
2
)}mm`
2
)}mm`
: '',
scanner: ManufacturerModelName || '',
},