LT-320 Disable keyboard shortcuts for Target, Non-Target and Toggle Lesion Tracker Tools if the lesion tracker tools are disabled

This commit is contained in:
Evren Ozkan authored and Erik Ziegler committed 2016-11-15 08:25:09 +01:00
1 parent 4dd9ee3f37
commit 8a265b248a
2 files changed
+18 -7

No files matched your search

@@ -31,12 +31,6 @@ Template.viewer.onCreated(() => {
}
});
// The hotkey can also be an array (e.g. ["NUMPAD0", "0"])
OHIF.viewer.defaultHotkeys = OHIF.viewer.defaultHotkeys || {};
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = 'O';
OHIF.viewer.defaultHotkeys.bidirectional = 'T'; // Target
OHIF.viewer.defaultHotkeys.nonTarget = 'N'; // Non-target
if (ViewerData[contentId].loadedSeriesData) {
OHIF.log.info('Reloading previous loadedSeriesData');
OHIF.viewer.loadedSeriesData = ViewerData[contentId].loadedSeriesData;