Apply dirlist style to unselected directories

This commit is contained in:
Eyal Sawady 2020-12-31 12:16:24 -05:00 committed by Reto Brunner
parent 3c14c2cb34
commit 7371d91b3c
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ func (dirlist *DirectoryList) Draw(ctx *ui.Context) {
break
}
style := tcell.StyleDefault
style := dirlist.UiConfig().GetStyle(config.STYLE_DIRLIST_DEFAULT)
if name == dirlist.selected {
style = dirlist.UiConfig().GetStyleSelected(config.STYLE_DIRLIST_DEFAULT)
}