remove color hack
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
3e8617d05c
commit
7e9037a9f5
|
@ -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}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue