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:
Alireza authored and GitHub committed 2022-09-08 22:02:20 -04:00
1 parent aec48b065c
commit 71f5fa8e2f
21 files changed
+168 -170

No files matched your search

@@ -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;