lib/multi-wrap-guide-view.js
// Mouse down event handler, initiates guide dragging.
Mouse down event handler, initiates guide dragging.
Mouse down event handler initiates guide dragging .
mouseDownGuide (guide, event) {
    if (atom.config.get('multi-wrap-guide.locked')) return
    if (event.button) return
    guide.classList.add('drag')
    guide.onmouseup = event => this.mouseUpGuide(guide, event)
    guide.onmousemove = event => this.mouseMoveGuide(guide, event)
    guide.onmouseleave = event => this.mouseLeaveGuide(guide, event)
    return false
  }
mouseDownGuide ( guide , event ) { if ( atom . config . get ( 'multi-wrap-guide.locked' ) ) return if ( event . button ) return guide . classList . add ( 'drag' ) guide . onmouseup = event => this . mouseUpGuide ( guide , event ) guide . onmousemove = event => this . mouseMoveGuide ( guide , event ) guide . onmouseleave = event => this . mouseLeaveGuide ( guide , event ) return false }
Mouse down event handler, initiates guide dragging.
Mouse down event handler initiates guide dragging .