   shouldAllowDrag: ->
     (@paneContainer.getPanes().length > 1) or (@pane.getItems().length > 1)
 
-  onDragStart: (event) =>
+  onDragStart: (event) ->
     return unless matches(event.target, '.sortable')
 
     event.dataTransfer.setData 'atom-event', 'true'

      @pane.destroyItem(tab.item)
      event.preventDefault()

  onDoubleClick: (event) =>
    if event.target is this
      atom.commands.dispatch(this, 'application:new-file')
      event.preventDefault()

  onClick: (event) =>
    return unless matches(event.target, ".tab .close-icon")

    tab = closest(event.target, '.tab')


      atom.focus()

  onMouseWheel: (event) ->
    return if event.shiftKey

    @wheelDelta ?= 0
