Adapting Viewers to the new cornerstone structure
This commit is contained in:
1 parent
99b88f08b3
commit
dc767e5c83
19 files changed
+82
-70
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ export default function(touchEventData) {
|
||||
$element.off('CornerstoneToolsDragStartActive', touchDownActivateCallback);
|
||||
|
||||
// Update the perpendicular line handles position
|
||||
const updateHandler = (event, eventData) => updatePerpendicularLineHandles(eventData, measurementData);
|
||||
const updateHandler = event => updatePerpendicularLineHandles(event.detail, measurementData);
|
||||
$element.on('CornerstoneToolsTouchDrag', updateHandler);
|
||||
$element.on('CornerstoneToolsTouchEnd', updateHandler);
|
||||
|
||||
|
||||
Reference in new issue
Block a user