diff options
| author | Jeff Carr <[email protected]> | 2019-05-23 14:33:11 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-23 14:33:11 -0700 |
| commit | 7e9037a9f579964727ccf2996b7e88d22a7a8aa0 (patch) | |
| tree | 339b176ceb5a1b97a89297edaf20a6a07eb8c0c3 | |
| parent | 3e8617d05c515b7772a35089226c47fb3d27b7c9 (diff) | |
remove color hack
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | tableCallbacks.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go index 103790a..3df6dd8 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -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} } |
