alert window border style fix

This commit is contained in:
sqshq 2019-03-18 21:53:45 -04:00
parent 1affe37594
commit 6a96983615
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ func RenderAlert(alert *data.Alert, area image.Rectangle, buffer *ui.Buffer) {
block := *ui.NewBlock()
block.SetRect(getRectCoordinates(area, width, len(lines)))
block.BorderStyle = ui.Style{Fg: color}
block.BorderStyle = ui.Style{Fg: color, Bg: ui.ColorClear}
block.Draw(buffer)
buffer.Fill(ui.NewCell(' ', ui.NewStyle(console.ColorBlack)), block.Inner)