       @disable() if @enabled and 'tree-view' is path.basename pkg.path
 
     @subs.add atom.config.onDidChange 'autohide-tree-view.hiddenWidth', (width) => @applyHiddenWidth width
-    @subs.add atom.config.onDidChange 'autohide-tree-view.animate', (doAnimate) => @applyAnimate doAnimate
     @subs.add atom.config.onDidChange 'tree-view.showOnRightSide', (width) => @applyHiddenWidth width
 
     @subs.add 'atom-workspace', 'mouseenter', '.tree-view-resizer.autohide-hover-events', => @show()

  show: (noDelay, disableHoverEvents) ->
    return unless @enabled
    @applyHiddenWidth()
    @applyAnimate()
    width = treeViewEl.querySelector('.tree-view').clientWidth
    if width > treeViewEl.clientWidth > @getHiddenWidth()
      noDelay = true

    else if event.type isnt 'mouseup'
      @hide true

  applyDoAnimate: (doAnimate) ->
    return unless @enabled
    doAnimate = doAnimate?.newValue ? @getDoAnimate()
    treeViewEl.style.transitionDuration = "#{!!doAnimate * .3}s"

  applyHiddenWidth: (width) ->
    return unless @enabled
