aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/list.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 15:27:48 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 15:27:48 -0500
commit24196d2c6fecae4b6bb52dfec14ac9d7e4bd40d4 (patch)
treed47b8ea1654a5627811df1e5ad5c5cfd172358fc /lib/ui/list.go
parent60284850f22624a03996e882fcfd6aeb2af88b93 (diff)
Revert "Render selected list item differently"
This reverts commit 60284850f22624a03996e882fcfd6aeb2af88b93.
Diffstat (limited to 'lib/ui/list.go')
-rw-r--r--lib/ui/list.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ui/list.go b/lib/ui/list.go
index 9caae20..58f304f 100644
--- a/lib/ui/list.go
+++ b/lib/ui/list.go
@@ -88,7 +88,6 @@ 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()
}