Fix scroll speed

This commit is contained in:
igoroctaviano committed 2021-03-26 13:27:51 -03:00
1 parent 3296ffaa07
commit 193ff12b6e
3 files changed
+18 -4

No files matched your search

+7
View File
@@ -38,7 +38,14 @@ export default {
},
getViewportModule({ commandsManager }) {
const ExtendedOHIFCornerstoneViewport = props => {
/**
* TODO: This appears to be used to set the redux parameters for
* the viewport when new images are loaded. It's very ugly
* and we should remove it.
*/
const onNewImageHandler = jumpData => {
/** Do not trigger all viewports to render unnecessarily */
jumpData.refreshViewports = false;
commandsManager.runCommand('jumpToImage', jumpData);
};
return (