1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix HackerNews row selection issue. Closes #411

This commit is contained in:
Chris Cummer
2019-04-23 03:12:08 -07:00
parent 5eb21d82b6
commit fa357294fb
6 changed files with 7 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ func (widget *Widget) contentFrom(view *View) string {
func (widget *Widget) rowColor(idx int) string {
if widget.View.HasFocus() && (idx == widget.selected) {
widget.settings.common.DefaultFocussedRowColor()
return widget.settings.common.DefaultFocussedRowColor()
}
return widget.settings.common.RowColor(idx)