parent
e3e34a49ce
commit
acf873444d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue