remove color hack

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-23 14:33:11 -07:00
parent 3e8617d05c
commit 7e9037a9f5
1 changed files with 2 additions and 0 deletions

View File

@ -29,12 +29,14 @@ func (mh *TableData) ColumnTypes(m *ui.TableModel) []ui.TableValue {
}
func libuiColorToGOlangColor(rgba color.RGBA) ui.TableColor {
/* a hack to see if colors work differently on macos or windows
if (rgba.R == 72) {
log.Println("SETTING COLOR TO NIL")
log.Println("SETTING COLOR TO NIL")
log.Println("SETTING COLOR TO NIL")
return ui.TableColor{}
}
*/
return ui.TableColor{float64(rgba.R) / 256, float64(rgba.G) / 256, float64(rgba.B) / 256, float64(rgba.A) / 256}
}