diff options
| author | Jeff Carr <[email protected]> | 2019-05-23 15:23:26 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-23 15:23:26 -0700 |
| commit | a8d43bea8201d07bf2b371d87100e8e98fa1628e (patch) | |
| tree | f1b347f08e35c28b63c4fd398980230c38b3afb3 /tableCallbacks.go | |
| parent | 07b16e36729ec6f580995824bd5116ee4d99cf82 (diff) | |
try nil for all BG row colors
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tableCallbacks.go')
| -rw-r--r-- | tableCallbacks.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go index 3df6dd8..71dc6b8 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -51,7 +51,10 @@ func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue return ui.TableString(mh.Rows[row].HumanData[humanID].Text) } if (column == mh.Human[humanID].ColorID) { - return libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color) + if (column == 0) { + log.Println("CellValue() is BG COLOR row, column =", row, column) + return nil + } return libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color) } log.Println("CellValue() FAILURE") |
