TreeView entry selection background is green when TreeView is focused

This commit is contained in:
Nathan Sobo
2012-04-24 13:23:37 -06:00
parent 2e49f12119
commit fd900d5760
2 changed files with 16 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ class TreeView extends View
rootView.prepend(new TreeView(rootView))
@content: (rootView) ->
@div class: 'tree-view', =>
@div class: 'tree-view', tabindex: -1, =>
@subview 'root', new DirectoryView(directory: rootView.project.getRootDirectory(), isExpanded: true)
initialize: (@rootView) ->