Viewport grid load default as 1x1 and load first image of series by default (#1817)
This commit is contained in:
1 parent
8f05cf73c7
commit
1d8f5cfc42
5 files changed
+59
-24
No files matched your search
@@ -10,8 +10,6 @@ import {
|
||||
useViewportGrid,
|
||||
useViewportDialog,
|
||||
} from '@ohif/ui';
|
||||
import debounce from 'lodash.debounce';
|
||||
import throttle from 'lodash.throttle';
|
||||
import { useTrackedMeasurements } from './../getContextModule';
|
||||
|
||||
// TODO -> Get this list from the list of tracked measurements.
|
||||
@@ -43,7 +41,6 @@ function TrackedCornerstoneViewport({
|
||||
|
||||
const [
|
||||
{ activeViewportIndex, viewports },
|
||||
dispatchViewportGrid,
|
||||
] = useViewportGrid();
|
||||
// viewportIndex, onSubmit
|
||||
const [viewportDialogState, viewportDialogApi] = useViewportDialog();
|
||||
@@ -217,7 +214,6 @@ function TrackedCornerstoneViewport({
|
||||
SliceThickness,
|
||||
} = displaySet.images[0];
|
||||
|
||||
|
||||
if (trackedSeries.includes(SeriesInstanceUID) !== isTracked) {
|
||||
setIsTracked(!isTracked);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user