summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-11-04 00:12:48 -0500
committerJeff Carr <[email protected]>2021-11-04 00:12:48 -0500
commitae7a69b636bc145745ed8e2b30ab2adba166be74 (patch)
treed40da36b80dac68c6df71af4d2f6ccb54e4d75e2 /button.go
parent8236be92dc72c2b443dc6ccfc2c2f6877af22afa (diff)
PANIC: remove almost all panic()s
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/button.go b/button.go
index c1c1c73..ef73f73 100644
--- a/button.go
+++ b/button.go
@@ -43,8 +43,6 @@ func (n *Node) AddButton(name string, custom func(*Node)) *Node {
log.Println("gui.AppendButton() Button Clicked. Running custom()")
custom(newNode)
})
- // panic("AppendButton")
- // time.Sleep(3 * time.Second)
return newNode
}