forked from tslocum/cview
Fix scroll bar background color
This commit is contained in:
parent
e97629839e
commit
1213cd5891
6
util.go
6
util.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue