Apply dirlist style to unselected directories
This commit is contained in:
parent
3c14c2cb34
commit
7371d91b3c
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ func (dirlist *DirectoryList) Draw(ctx *ui.Context) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
style := tcell.StyleDefault
|
style := dirlist.UiConfig().GetStyle(config.STYLE_DIRLIST_DEFAULT)
|
||||||
if name == dirlist.selected {
|
if name == dirlist.selected {
|
||||||
style = dirlist.UiConfig().GetStyleSelected(config.STYLE_DIRLIST_DEFAULT)
|
style = dirlist.UiConfig().GetStyleSelected(config.STYLE_DIRLIST_DEFAULT)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue