summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-28 14:03:06 -0600
committerJeff Carr <[email protected]>2024-01-28 14:03:06 -0600
commit2e2e68ce070a987304d3f8e4bae832b2672f7875 (patch)
treeb71d31180ee1bf1591311ace4e6d9cff1c467454 /debug.go
parentdab898f0f945fc3b0a5747f38b7f22b59d539117 (diff)
trying to fix windows
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug.go b/debug.go
index 04f2a90..9419a9d 100644
--- a/debug.go
+++ b/debug.go
@@ -7,16 +7,16 @@ import (
"go.wit.com/widget"
)
-func (w *guiWidget) dumpTree() {
+func (w *guiWidget) dumpTree(s string) {
// log.Log(ERROR, "dumpTree w", w.node.WidgetId, w.WidgetType, w.String())
if w == nil {
log.Log(ERROR, "dumpTree w.TK == nil", w.node.WidgetId, w.WidgetType, w.String())
return
}
- w.showWidgetPlacement("dumpTree()")
+ w.showWidgetPlacement("dumpTree() " + s)
for _, child := range w.children {
- child.dumpTree()
+ child.dumpTree(s)
}
}