fix(treeview): Use `scrollBarColor`

This commit is contained in:
Andreas Bieber 2020-09-18 07:29:33 +02:00
parent 9142563f22
commit 1d019e9697
1 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,7 @@ func (t *TreeView) Draw(screen tcell.Screen) {
}
// Draw scroll bar.
RenderScrollBar(screen, t.scrollBarVisibility, x+(width-1), posY, height, rows, cursor, posY-y, t.hasFocus, tcell.ColorWhite.TrueColor())
RenderScrollBar(screen, t.scrollBarVisibility, x+(width-1), posY, height, rows, cursor, posY-y, t.hasFocus, t.scrollBarColor)
// Advance.
posY++