mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
Only set selected background on path details
Previously the background of the entire li was changed when selected.
This commit is contained in:
@@ -9,8 +9,9 @@ class PathView extends View
|
||||
classes = ['path']
|
||||
classes.push('readme') if fs.isReadmePath(path)
|
||||
@li class: classes.join(' '), =>
|
||||
@span class: 'path-name', path
|
||||
@span "(#{operations.length})", class: 'path-match-number'
|
||||
@div class: 'path-details', =>
|
||||
@span class: 'path-name', path
|
||||
@span "(#{operations.length})", class: 'path-match-number'
|
||||
@ul outlet: 'matches', class: 'matches', =>
|
||||
for operation in operations
|
||||
@subview "operation#{operation.index}", new OperationView({operation, previewList})
|
||||
|
||||
Reference in New Issue
Block a user