diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 15:49:52 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 15:49:52 -0700 |
| commit | 8967c1494c9611330782915dbf4d54f29887d135 (patch) | |
| tree | 93fb34b5c3ce73567172dc55ee273da977e9aa03 /area.go | |
| parent | d6cc47ab94bf294b69116f9479b49f0302bfc7b5 (diff) | |
more deletions of old stuff
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,9 +24,9 @@ func makeGenericArea(gb *GuiBox, newText *ui.AttributedString, custom func(*GuiB gw.Area.UiAttrstr = newText gw.Area.UiArea = ui.NewArea(gw.Area) - if (Data.Debug) { + if (Config.Debug) { spew.Dump(gw.Area.UiArea) - log.Println("DEBUGGING", Data.Debug) + log.Println("DEBUGGING", Config.Debug) } else { log.Println("NOT DEBUGGING AREA mhAH.Button =", gw.Area.Button) } @@ -62,7 +62,7 @@ func (ah GuiArea) Draw(a *ui.Area, p *ui.AreaDrawParams) { } func (ah GuiArea) MouseEvent(a *ui.Area, me *ui.AreaMouseEvent) { - if (Data.Debug) { + if (Config.Debug) { log.Println("GOT MouseEvent() ah.Button =", ah.Button) spew.Dump(me) } |
