Updated hotkey presets to the specified defaults. Closes LT-21

This commit is contained in:
Erik Ziegler committed 2015-12-14 08:31:25 -05:00
1 parent 646ffb2b46
commit 37fa29cce4
2 files changed
+16 -8

No files matched your search

+10 -2
View File
@@ -51,11 +51,19 @@ Template.viewer.onCreated(function() {
Session.set('UpdateCINE', Random.id());
},
toggleLesionTrackerTools: toggleLesionTrackerTools,
clearTools: clearTools
clearTools: clearTools,
lesion: function() {
toolManager.setActiveTool("lesion");
},
nonTarget: function() {
toolManager.setActiveTool("nonTarget");
},
};
// The hotkey can also be an array (e.g. ["NUMPAD0", "0"])
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = "Y";
OHIF.viewer.defaultHotkeys.toggleLesionTrackerTools = "O";
OHIF.viewer.defaultHotkeys.lesion = "T"; // Target
OHIF.viewer.defaultHotkeys.nonTarget = "N"; // Non-target
// Enable hotkeys
enableHotkeys();