src/core/overlay.js
/**
   * Removes the overlay and cancel any listeners
   */
Removes the overlay and cancel any listeners
Removes the overlay and cancel any listeners
clear() {
    this.positionToHighlight = new Position();
    if (this.highlightedElement) {
      this.highlightedElement.onDeselected();
    }
    this.highlightedElement = null;
    this.lastHighlightedElement = null;
    this.draw();
  }
clear ( ) { this . positionToHighlight = new Position ( ) ; if ( this . highlightedElement ) { this . highlightedElement . onDeselected ( ) ; } this . highlightedElement = null ; this . lastHighlightedElement = null ; this . draw ( ) ; }
Removes the overlay and cancel any listeners
Removes the overlay and cancel any listeners