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

@@ -1,4 +1,4 @@
/*! cornerstoneTools - v0.7.7 - 2015-11-22 | (c) 2014 Chris Hafey | https://github.com/chafey/cornerstoneTools */
/*! cornerstoneTools - v0.7.7 - 2015-11-23 | (c) 2014 Chris Hafey | https://github.com/chafey/cornerstoneTools */
// Begin Source: src/header.js
if (typeof cornerstone === 'undefined') {
cornerstone = {};
@@ -6078,6 +6078,10 @@ if (typeof cornerstoneTools === 'undefined') {
Object.keys(handles).forEach(function(name) {
var handle = handles[name];
if (handle.allowedOutsideImage === true) {
return;
}
if (cornerstoneMath.point.insideRect(handle, imageRect) === false) {
handleOutsideImage = true;
}