Skip to content

Commit

Permalink
Fix open files visibility after toggling tree-view
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexeenco committed Nov 26, 2015
1 parent 2c9ca7a commit 1c89ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tree-view-open-files.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ module.exports =

atom.commands.add 'atom-workspace', 'tree-view:toggle', =>
if treeView.treeView?.is(':visible')
@treeViewOpenFilesView.show()
else
@treeViewOpenFilesView.hide()
else
@treeViewOpenFilesView.show()

atom.commands.add 'atom-workspace', 'tree-view:show', =>
@treeViewOpenFilesView.show()
Expand Down

0 comments on commit 1c89ff5

Please sign in to comment.