Minor bugfix.

This commit is contained in:
Oliver 2018-01-01 17:17:32 +01:00
parent 997b92f1b4
commit 759602af1b
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ ColumnLoop:
}
// Draw right border.
if t.borders && columnX < width {
if t.borders && len(t.cells) > 0 && columnX < width {
for rowY, row := range rows {
rowSelected := t.rowsSelectable && !t.columnsSelectable && row == t.selectedRow
rowY *= 2