LT-340: Prevent Target, Non-Target, and qualitative (CR/NE/EX) tools from disappearing when dragged offscreen

This commit is contained in:
Erik Ziegler 2016-11-16 13:43:48 +01:00
parent 0483ecd7a3
commit dcd7e3f1c5
3 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,7 @@
highlight: true,
active: false,
drawnIndependently: true,
allowedOutsideImage: true,
index: 0
},
end: {
@ -55,6 +56,7 @@
highlight: true,
active: true,
drawnIndependently: true,
allowedOutsideImage: true,
index: 1
},
textBox: {
@ -73,6 +75,7 @@
active: false,
locked: true, // If perpendicular line is connected to long-line
drawnIndependently: true,
allowedOutsideImage: true,
index: 2
},
perpendicularEnd: {
@ -81,6 +84,7 @@
highlight: true,
active: false,
drawnIndependently: true,
allowedOutsideImage: true,
index: 3
}
},

View File

@ -125,12 +125,14 @@ import { OHIF } from 'meteor/ohif:core';
start: {
x: mouseEventData.currentPoints.image.x,
y: mouseEventData.currentPoints.image.y,
allowedOutsideImage: true,
highlight: true,
active: false
},
end: {
x: mouseEventData.currentPoints.image.x,
y: mouseEventData.currentPoints.image.y,
allowedOutsideImage: true,
highlight: true,
active: false
},

View File

@ -152,12 +152,14 @@
start: {
x: mouseEventData.currentPoints.image.x,
y: mouseEventData.currentPoints.image.y,
allowedOutsideImage: true,
highlight: true,
active: false
},
end: {
x: mouseEventData.currentPoints.image.x,
y: mouseEventData.currentPoints.image.y,
allowedOutsideImage: true,
highlight: true,
active: false
},