Update cornerstoneTools to allow some handles off-screen. Add hardcoded MG hanging protocol to window manager. Fix tooltips in toolbar buttons

This commit is contained in:
Erik Ziegler committed 2015-11-24 18:08:15 +01:00
1 parent e6fd2e60b0
commit ec9b77c4d1
5 files changed
+318 -25

No files matched your search

@@ -110,6 +110,8 @@ function getDefaultButtonData() {
Template.toolbar.events({
'click .imageViewerTool': function(e) {
$(e.currentTarget).tooltip('hide');
var tool = e.currentTarget.id;
console.log('Setting active tool to: ' + tool);
@@ -117,6 +119,8 @@ Template.toolbar.events({
toolManager.setActiveTool(tool, elements);
},
'click .imageViewerCommand': function(e) {
$(e.currentTarget).tooltip('hide');
var command = e.currentTarget.id;
if (!OHIF.viewer.functionList.hasOwnProperty(command)) {
return;