Remove code that keeps transparent background from working
@@ -396,13 +396,11 @@ func (b *Box) Draw(screen tcell.Screen) bool {
// Fill background.
background := def.Background(b.backgroundColor).Reverse(b.reverse)
- if b.backgroundColor != tcell.ColorDefault {
for y := b.y; y < b.y+b.height; y++ {
for x := b.x; x < b.x+b.width; x++ {
screen.SetContent(x, y, ' ', nil, background)
}
}
- }
// Draw border.
if b.border && b.width >= 2 && b.height >= 1 {
