Fixed semigraphics style in TreeView which ignored background color. Fixes #173

pull/175/head
Oliver 6 years ago
parent a7c1880d62
commit 028ad94730

@ -569,7 +569,7 @@ func (t *TreeView) Draw(screen tcell.Screen) {
// Draw the tree.
posY := y
lineStyle := tcell.StyleDefault.Foreground(t.graphicsColor)
lineStyle := tcell.StyleDefault.Background(t.backgroundColor).Foreground(t.graphicsColor)
for index, node := range t.nodes {
// Skip invisible parts.
if posY >= y+height+1 {

Loading…
Cancel
Save