diff options
| author | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-28 10:30:27 -0500 |
| commit | 03942de00e133daf59da8ed3b6c3e71ce8afe316 (patch) | |
| tree | a5d5e4b3899631d939b90d1cfa21bc165be76695 /debugWidget.go | |
| parent | 8b5f8fe42d9b161090ff91960050565959ac65dd (diff) | |
further code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugWidget.go')
| -rw-r--r-- | debugWidget.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/debugWidget.go b/debugWidget.go index faa2ff9..6345625 100644 --- a/debugWidget.go +++ b/debugWidget.go @@ -105,11 +105,7 @@ func DebugWidgetWindow(w *Node) { activeWidget.Hide() }) g.NewButton("Dump()", func () { - activeWidget.Dump(true) - - var a toolkit.Action - a.ActionType = toolkit.Dump - newaction(&a, activeWidget, nil) + activeWidget.Dump() }) g = bugWidget.NewGroup("add things") @@ -266,7 +262,7 @@ func (n *Node) debugAddWidgetButton() { log("activeWidget.NextX =", activeWidget.NextX) log("activeWidget.NextY =", activeWidget.NextY) log(debugNow, "Add() size (X,Y)", activeWidget.X, activeWidget.Y, "put next thing at (X,Y) =", activeWidget.NextX, activeWidget.NextY) - activeWidget.Dump(true) + activeWidget.Dump() // activeWidget.X = newX // activeWidget.Y = newY |
