From 60284850f22624a03996e882fcfd6aeb2af88b93 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Jan 2019 15:12:52 -0500 Subject: Render selected list item differently --- lib/ui/list.go | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ui') diff --git a/lib/ui/list.go b/lib/ui/list.go index 58f304f..9caae20 100644 --- a/lib/ui/list.go +++ b/lib/ui/list.go @@ -88,6 +88,7 @@ func (list *List) Select(index int) { panic(fmt.Errorf("Attempted to select unknown child")) } list.selected = index + list.Items[list.selected].invalid = true list.Invalidate() } -- cgit v1.2.3