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:
parent
9c225ecd57
commit
82b05c9fb3
2
grid.go
2
grid.go
@ -68,7 +68,7 @@ type Grid struct {
|
|||||||
// grid.SetBackgroundColor(tview.Styles.PrimitiveBackgroundColor)
|
// grid.SetBackgroundColor(tview.Styles.PrimitiveBackgroundColor)
|
||||||
func NewGrid() *Grid {
|
func NewGrid() *Grid {
|
||||||
g := &Grid{
|
g := &Grid{
|
||||||
Box: NewBox(),
|
Box: NewBox().SetBackgroundColor(tcell.ColorDefault),
|
||||||
bordersColor: Styles.GraphicsColor,
|
bordersColor: Styles.GraphicsColor,
|
||||||
}
|
}
|
||||||
g.focus = g
|
g.focus = g
|
||||||
|
Loading…
x
Reference in New Issue
Block a user