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

      @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()

    treeViewEl.style.width = "#{width}px"
    treeViewEl.parentNode.style?.width = "#{width}px"

  getDoAnimate: -> atom.config.get 'autohide-tree-view.animate'

  getShowDelay: -> atom.config.get 'autohide-tree-view.showDelay'

