Skip to content

Commit

Permalink
fix list rows focus and selection background not updating with theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Nov 2, 2023
1 parent 8c87388 commit 9c11b38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/widgets/listrowbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func (l *ListRowBase) TypedRune(r rune) {
}

func (l *ListRowBase) Refresh() {
l.focusedRect.FillColor = theme.HoverColor()
l.focusedRect.Hidden = !l.Focused
l.selectionRect.FillColor = theme.SelectionColor()
l.selectionRect.Hidden = !l.Selected
l.BaseWidget.Refresh()
}
Expand Down

0 comments on commit 9c11b38

Please sign in to comment.