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 == mh.Human[humanID].ColorID) {
if (column == 0) { if (column == 0) {
// ignore BG color on windows for now // ignore BG color on windows for now
if (runtime.GOOS == "windows") { //if (runtime.GOOS == "windows") {
log.Println("CellValue() is BG COLOR row, column =", row, column) // log.Println("CellValue() is BG COLOR row, column =", row, column)
return nil // return nil
} //}
bgcolor := libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color) bgcolor := libuiColorToGOlangColor(mh.Rows[row].HumanData[humanID].Color)
if (Data.Debug) { if (Data.Debug) {
log.Println("CellValue() BGCOLOR =", bgcolor) log.Println("CellValue() BGCOLOR =", bgcolor)