From b49194b2ca90bded61b5c774ba65dd07efabf8a7 Mon Sep 17 00:00:00 2001 From: Toby Padilla Date: Fri, 20 Aug 2021 17:25:44 -0500 Subject: [PATCH] Fix active border on selection box --- tui/bubble.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui/bubble.go b/tui/bubble.go index 5c68eb0b0..209428cf8 100644 --- a/tui/bubble.go +++ b/tui/bubble.go @@ -148,7 +148,7 @@ func (b *Bubble) viewForBox(i int) string { var s lipgloss.Style s = b.styles.Menu if isActive { - s.Copy().BorderForeground(b.styles.ActiveBorderColor) + s = s.Copy().BorderForeground(b.styles.ActiveBorderColor) } return s.Render(box.View()) case *repo.Bubble: