Fixing broken arrow tools
This commit is contained in:
1 parent
9ee6cb302a
commit
a6fc444209
3 files changed
+155
-58
No files matched your search
@@ -97,7 +97,7 @@ function createNewMeasurement(mouseEventData) {
|
||||
}
|
||||
|
||||
function addNewMeasurement(mouseEventData) {
|
||||
const element = mouseEventData.element;
|
||||
const { element } = mouseEventData;
|
||||
const $element = $(element);
|
||||
|
||||
// LT-29 Disable Target Measurements when pixel spacing is not available
|
||||
@@ -113,10 +113,7 @@ function addNewMeasurement(mouseEventData) {
|
||||
const measurementData = createNewMeasurement(mouseEventData);
|
||||
measurementData.viewport = cornerstone.getViewport(element);
|
||||
|
||||
const eventData = {
|
||||
mouseButtonMask: mouseEventData.which
|
||||
};
|
||||
|
||||
const eventData = { mouseButtonMask: mouseEventData.which };
|
||||
const config = cornerstoneTools.bidirectional.getConfiguration();
|
||||
|
||||
// associate this data with this imageId so we can render it and manipulate it
|
||||
|
||||
Reference in new issue
Block a user