diff options
| author | Jeff Carr <[email protected]> | 2019-05-21 18:28:20 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-21 18:28:20 -0700 |
| commit | acf873444dc7aef657d2d177719066a1016cab86 (patch) | |
| tree | 01869922edf7bff61dfcc35b0347ee5ca70d15e5 /tableCallbacks.go | |
| parent | e3e34a49ce4c3a46275e4a99880291dffe981c34 (diff) | |
more debugging
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tableCallbacks.go')
| -rw-r--r-- | tableCallbacks.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tableCallbacks.go b/tableCallbacks.go index 1577cf6..b2c292d 100644 --- a/tableCallbacks.go +++ b/tableCallbacks.go @@ -39,6 +39,9 @@ func libuiColorToGOlangColor(rgba color.RGBA) ui.TableColor { // TODO: Figure out why this is being called 1000 times a second (10 times for each row & column) // Nevermind this TODO. Who gives a shit. This is a really smart way to treat the OS toolkits func (mh *TableData) CellValue(m *ui.TableModel, row, column int) ui.TableValue { + if (config.String("debugging") == "true") { + log.Println("CellValue() row, column =", row, column) + } humanID := mh.Cells[column].HumanID if (column == mh.Human[humanID].TextID) { return ui.TableString(mh.Rows[row].HumanData[humanID].Text) |
