mirror of https://github.com/rivo/tview.git
Fixed Box border background colour.
This commit is contained in:
parent
b2dec96e1a
commit
ae065beb93
1
box.go
1
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue