bump RCV version and use new prop to control resize/refresh behavior (#1869)

This commit is contained in:
Danny Brown authored and GitHub committed 2020-07-04 13:25:23 -04:00
1 parent e2c72d48fe
commit 86327cd808
6 files changed
+17 -24

No files matched your search

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import cornerstone from 'cornerstone-core';
import cornerstoneTools from 'cornerstone-tools';
import CornerstoneViewport from 'react-cornerstone-viewport';
import OHIF, { DicomMetadataStore, utils } from '@ohif/core';
import OHIF, { utils } from '@ohif/core';
import {
Notification,
ViewportActionBar,
@@ -345,6 +345,9 @@ function TrackedCornerstoneViewport({
imageIndex: currentImageIdIndex,
});
}}
// Sync resize throttle w/ sidepanel animation duration to prevent
// seizure inducing strobe blinking effect
resizeRefreshRateMs={150}
// TODO: ViewportGrid Context?
isActive={true} // todo
isStackPrefetchEnabled={true} // todo