lib/multi-wrap-guide-view.js
// Returns [left, top] offsets of mouse curosr from a given mouse event.
Returns [left, top] offsets of mouse curosr from a given mouse event.
Returns [ left top ] offsets of mouse curosr from a given mouse event .
offsetFromMouseEvent (e) {
    const { clientX, clientY } = e
    const scrollClientRect = this.scrollView.getBoundingClientRect()
    const left = clientX - scrollClientRect.left
    const top = clientY - scrollClientRect.top
    return [left, top]
  }
offsetFromMouseEvent ( e ) { const { clientX , clientY } = e const scrollClientRect = this . scrollView . getBoundingClientRect ( ) const left = clientX - scrollClientRect . left const top = clientY - scrollClientRect . top return [ left , top ] }
Returns [left, top] offsets of mouse curosr from a given mouse event.
Returns [ left top ] offsets of mouse curosr from a given mouse event .