Fix active border on selection box

Toby Padilla created

Change summary

tui/bubble.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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: