1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-26 13:49:06 +08:00

Grid's background box is transparent again. Fixes #359

This commit is contained in:
Oliver 2019-11-29 07:51:40 +01:00
parent 9c225ecd57
commit 82b05c9fb3

View File

@ -68,7 +68,7 @@ type Grid struct {
// grid.SetBackgroundColor(tview.Styles.PrimitiveBackgroundColor)
func NewGrid() *Grid {
g := &Grid{
Box: NewBox(),
Box: NewBox().SetBackgroundColor(tcell.ColorDefault),
bordersColor: Styles.GraphicsColor,
}
g.focus = g