Fixed Box border background colour.

pull/581/head
Oliver 3 years ago
parent b2dec96e1a
commit ae065beb93

@ -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
}

Loading…
Cancel
Save