OHIF-311: Set nav arrows as active for all viewports (#1930)
This commit is contained in:
1 parent
3d48a2a2c7
commit
4d1d73b89c
2 files changed
-4
No files matched your search
@@ -427,7 +427,6 @@ function OHIFCornerstoneSRViewport({
|
|||||||
}}
|
}}
|
||||||
onSeriesChange={onMeasurementChange}
|
onSeriesChange={onMeasurementChange}
|
||||||
onHydrationClick={hydrateMeasurementService}
|
onHydrationClick={hydrateMeasurementService}
|
||||||
showNavArrows={viewportIndex === activeViewportIndex}
|
|
||||||
studyData={{
|
studyData={{
|
||||||
label,
|
label,
|
||||||
isTracked: false,
|
isTracked: false,
|
||||||
|
|||||||
@@ -298,8 +298,6 @@ function TrackedCornerstoneViewport({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const showNavArrows = isTracked && viewportIndex === activeViewportIndex;
|
|
||||||
|
|
||||||
// TODO -> disabled double click for now: onDoubleClick={_onDoubleClick}
|
// TODO -> disabled double click for now: onDoubleClick={_onDoubleClick}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -310,7 +308,6 @@ function TrackedCornerstoneViewport({
|
|||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
}}
|
}}
|
||||||
onSeriesChange={direction => switchMeasurement(direction)}
|
onSeriesChange={direction => switchMeasurement(direction)}
|
||||||
showNavArrows={showNavArrows}
|
|
||||||
studyData={{
|
studyData={{
|
||||||
label,
|
label,
|
||||||
isTracked,
|
isTracked,
|
||||||
|
|||||||
Reference in new issue
Block a user