do colors for windows again

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-28 16:37:46 -07:00
parent d949324aeb
commit 3595885818
1 changed files with 4 additions and 4 deletions

View File

@ -56,10 +56,10 @@ func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue
if (column == mh.Human[humanID].ColorID) {
if (column == 0) {
// ignore BG color on windows for now
if (runtime.GOOS == "windows") {
log.Println("CellValue() is BG COLOR row, column =", row, column)
return nil
}
//if (runtime.GOOS == "windows") {
// log.Println("CellValue() is BG COLOR row, column =", row, column)
// return nil
//}
bgcolor := libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color)
if (Data.Debug) {
log.Println("CellValue() BGCOLOR =", bgcolor)