more color tests

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 16:47:24 -07:00
parent 784fee726d
commit 843873c84c
1 changed files with 8 additions and 1 deletions

View File

@ -57,9 +57,16 @@ func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue
if (column == 0) {
// ignore BG color on windows for now
if (runtime.GOOS == "windows") {
log.Println("CellValue() WINDOWS is BG COLOR row, column =", row, column)
// TODO: fix colors on windows
// log.Println("CellValue() WINDOWS is BG COLOR row, column =", row, column)
// return nil
}
if (mh.Rows[row].HumanData[humanID].Color == color.RGBA{255, 255, 255, 255}) {
log.Println("CellValue() color.RGBA{255, 255, 255, 255} so return nil. row, column =", row, column)
return nil
}
bgcolor := libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color)
if (Data.Debug) {
log.Println("CellValue() BGCOLOR =", bgcolor)