diff options
| author | Jeff Carr <[email protected]> | 2024-01-08 20:17:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-08 20:17:49 -0600 |
| commit | 2a9724d7a89733db8c41571a8b5d9d0e1f0d76b3 (patch) | |
| tree | 471510c5d1bf2d12571c538b22686d2dcec5ff1f /nocui/event.go | |
| parent | 4a079f8346fb54a3f4b7e15c3d89701f643099ce (diff) | |
move to 'go.wit.com/log'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/event.go')
| -rw-r--r-- | nocui/event.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nocui/event.go b/nocui/event.go index 406e634..4de0e32 100644 --- a/nocui/event.go +++ b/nocui/event.go @@ -1,6 +1,7 @@ package main import ( + "go.wit.com/log" "go.wit.com/gui/widget" ) @@ -36,9 +37,9 @@ func (n *node) doWidgetClick() { case widget.Box: // n.showWidgetPlacement(logNow, "drawTree()") if (n.B) { - log(true, "BOX IS HORIZONTAL", n.Name) + log.Log(NOW, "BOX IS HORIZONTAL", n.Name) } else { - log(true, "BOX IS VERTICAL", n.Name) + log.Log(NOW, "BOX IS VERTICAL", n.Name) } case widget.Button: n.doUserEvent() |
