function mouseMoveCallback(e) {
  var eventData = e.detail;
  var toolData = (0, _toolState.getToolState)(eventData.element, toolType);

  if (!toolData) {
    return;
  }

  var config = freehand.getConfiguration();
  var currentTool = config.currentTool;

  // Tool inactive and passively watching for mouse over
  if (currentTool < 0) {
    var imageNeedsUpdate = mouseHover(eventData, toolData);

    if (!imageNeedsUpdate) {
      return;
    }
  } else {
    mouseMoveActive(eventData, toolData);
  }

  // Force onImageRendered
  _externalModules2.default.cornerstone.updateImage(eventData.element);
}
/**
* Event handler for MOUSE_MOVE event.
*
* @event
* @param {Object} e - The event.
*/
Event handler for MOUSE_MOVE event.
Event handler for MOUSE_MOVE event .
function mouseMoveCallback(e) {
  var eventData = e.detail;
  var toolData = (0, _toolState.getToolState)(eventData.element, toolType);
  if (!toolData) {
    return;
  }
  var config = freehand.getConfiguration();
  var currentTool = config.currentTool;
  if (currentTool < 0) {
    var imageNeedsUpdate = mouseHover(eventData, toolData);
    if (!imageNeedsUpdate) {
      return;
    }
  } else {
    mouseMoveActive(eventData, toolData);
  }
  _externalModules2.default.cornerstone.updateImage(eventData.element);
}
function mouseMoveCallback ( e ) { var eventData = e . detail ; var toolData = ( 0 , _toolState . getToolState ) ( eventData . element , toolType ) ; if ( ! toolData ) { return ; } var config = freehand . getConfiguration ( ) ; var currentTool = config . currentTool ; if ( currentTool < 0 ) { var imageNeedsUpdate = mouseHover ( eventData , toolData ) ; if ( ! imageNeedsUpdate ) { return ; } } else { mouseMoveActive ( eventData , toolData ) ; } _externalModules2 . default . cornerstone . updateImage ( eventData . element ) ; }
Event handler for MOUSE_MOVE event.
Event handler for MOUSE_MOVE event .
// Tool inactive and passively watching for mouse over // Force onImageRendered