Fix scroll bar background color

This commit is contained in:
Trevor Slocum 2020-04-25 06:09:13 -07:00
parent e97629839e
commit 1213cd5891
1 changed files with 3 additions and 3 deletions

View File

@ -683,13 +683,13 @@ func RenderScrollBar(screen tcell.Screen, visibility ScrollBarVisibility, x int,
if focused {
scrollBar = "[::r] [-:-:-]"
} else {
scrollBar = "▓"
scrollBar = "[-:-:-]▓"
}
} else {
if focused {
scrollBar = "▒"
scrollBar = "[-:-:-]▒"
} else {
scrollBar = "░"
scrollBar = "[-:-:-]░"
}
}
Print(screen, scrollBar, x, y, 1, AlignLeft, color)