longitudinal mode to use "tracked" thumbnails
This commit is contained in:
1 parent
d557acbb40
commit
38e60e297b
6 files changed
+37
-51
No files matched your search
@@ -13,19 +13,7 @@ const OHIFCornerstoneViewport = props => {
|
||||
};
|
||||
|
||||
function getViewportModule({ commandsManager }) {
|
||||
const ExtendedOHIFCornerstoneViewport = props => {
|
||||
const onNewImageHandler = jumpData => {
|
||||
alert('here we are!')
|
||||
commandsManager.runCommand('jumpToImage', jumpData);
|
||||
};
|
||||
return (
|
||||
<OHIFCornerstoneViewport {...props} onNewImage={onNewImageHandler} />
|
||||
);
|
||||
};
|
||||
|
||||
return [
|
||||
{ name: 'cornerstone-tracked', component: ExtendedOHIFCornerstoneViewport },
|
||||
];
|
||||
};
|
||||
return [{ name: 'cornerstone-tracked', component: OHIFCornerstoneViewport }];
|
||||
}
|
||||
|
||||
export default getViewportModule;
|
||||
Reference in new issue
Block a user