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

This commit is contained in:
Igor Octaviano 2020-07-28 05:44:48 -03:00 committed by GitHub
parent 3d48a2a2c7
commit 4d1d73b89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View File

@ -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 || '',
},

View File

@ -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 || '',
},