From ae065beb933c08511a6ab0a6b46df45cc2fd9661 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 12 Mar 2021 12:58:47 +0100 Subject: [PATCH] Fixed Box border background colour. --- box.go | 1 + 1 file changed, 1 insertion(+) diff --git a/box.go b/box.go index 62bc896..582d039 100644 --- a/box.go +++ b/box.go @@ -247,6 +247,7 @@ func (b *Box) GetMouseCapture() func(action MouseAction, event *tcell.EventMouse // SetBackgroundColor sets the box's background color. func (b *Box) SetBackgroundColor(color tcell.Color) *Box { b.backgroundColor = color + b.borderStyle = b.borderStyle.Background(color) return b }