fix: left right hotkeys and remove non working ones (#2922)
* fix: constant should be enums in cs3d * remove non working hotkeys for now
This commit is contained in:
1 parent
aec48b065c
commit
71f5fa8e2f
21 files changed
+168
-170
No files matched your search
@@ -32,8 +32,8 @@
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "^3.0.0",
|
||||
"classnames": "^2.2.6",
|
||||
"@cornerstonejs/core": "^0.15.3",
|
||||
"@cornerstonejs/tools": "^0.23.3",
|
||||
"@cornerstonejs/core": "^0.16.1",
|
||||
"@cornerstonejs/tools": "^0.24.1",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "^3.0.0",
|
||||
"dcmjs": "^0.24.5",
|
||||
"prop-types": "^15.6.2",
|
||||
|
||||
@@ -12,27 +12,6 @@ const measurementTrackingExtension = {
|
||||
getContextModule,
|
||||
getPanelModule,
|
||||
getViewportModule,
|
||||
getCommandsModule({ servicesManager }) {
|
||||
return {
|
||||
definitions: {
|
||||
setToolActive: {
|
||||
commandFn: ({ toolName, element }) => {
|
||||
if (!toolName) {
|
||||
console.warn('No toolname provided to setToolActive command');
|
||||
}
|
||||
|
||||
// Set same tool or alt tool
|
||||
cornerstoneTools.setToolActiveForElement(element, toolName, {
|
||||
mouseButtonMask: 1,
|
||||
});
|
||||
},
|
||||
storeContexts: [],
|
||||
options: {},
|
||||
},
|
||||
},
|
||||
defaultContext: 'ACTIVE_VIEWPORT::TRACKED',
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
export default measurementTrackingExtension;
|
||||
Reference in new issue
Block a user