mirror of
https://github.com/rivo/tview.git
synced 2025-05-01 22:18:30 +08:00
Minor bugfix.
This commit is contained in:
parent
997b92f1b4
commit
759602af1b
2
table.go
2
table.go
@ -561,7 +561,7 @@ ColumnLoop:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Draw right border.
|
// Draw right border.
|
||||||
if t.borders && columnX < width {
|
if t.borders && len(t.cells) > 0 && columnX < width {
|
||||||
for rowY, row := range rows {
|
for rowY, row := range rows {
|
||||||
rowSelected := t.rowsSelectable && !t.columnsSelectable && row == t.selectedRow
|
rowSelected := t.rowsSelectable && !t.columnsSelectable && row == t.selectedRow
|
||||||
rowY *= 2
|
rowY *= 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user