Browse Source

fix(treeview): Use `scrollBarColor`

tablepad
Andreas Bieber 2 years ago
parent
commit
1d019e9697
  1. 2
      treeview.go

2
treeview.go

@ -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++

Loading…
Cancel
Save