b49194b2ca90bded61b5c774ba65dd07efabf8a7

Author
Toby Padilla <toby@charm.sh>
Committer
Toby Padilla <toby@charm.sh>
Date

Message

Fix active border on selection box

Diff

 1diff --git a/tui/bubble.go b/tui/bubble.go
 2index 5c68eb0b01b2e9ffbc752724468c9b4485f79032..209428cf89e3c522d9f2987f1d4b2fd5026a3516 100644
 3--- a/tui/bubble.go
 4+++ b/tui/bubble.go
 5@@ -148,7 +148,7 @@ func (b *Bubble) viewForBox(i int) string {
 6 		var s lipgloss.Style
 7 		s = b.styles.Menu
 8 		if isActive {
 9-			s.Copy().BorderForeground(b.styles.ActiveBorderColor)
10+			s = s.Copy().BorderForeground(b.styles.ActiveBorderColor)
11 		}
12 		return s.Render(box.View())
13 	case *repo.Bubble: