summaryrefslogtreecommitdiff
path: root/box.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-09 05:31:59 -0500
committerJeff Carr <[email protected]>2021-10-09 05:31:59 -0500
commit822a1c8f2aeeda6b36437cf06c0fa65a45df29ef (patch)
tree5c7e00b2353d21960ca12f920e29fcbb8375e8c9 /box.go
parent77d6d6d24e7574c49d6c578ac39f5410817abeaf (diff)
NODE: going down a rabbit hole
Diffstat (limited to 'box.go')
-rw-r--r--box.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/box.go b/box.go
index 0d2a487..1b08945 100644
--- a/box.go
+++ b/box.go
@@ -60,9 +60,9 @@ func add(box *GuiBox, newbox *GuiBox) {
}
if (box.UiBox == nil) {
- DebugDataNodeChildren()
box.Dump()
return
+ // TODO: fix this whole add() function // Oct 9
panic("gui.add() ERROR box.UiBox == nil")
}
box.UiBox.Append(newbox.UiBox, false)