From 40dc20be0d7141ccc6263b88e005c16378daa8ce Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 12 Feb 2014 21:26:18 -0500 Subject: [PATCH] Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event. --- button.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.go b/button.go index 011e5f5..92ddead 100644 --- a/button.go +++ b/button.go @@ -47,7 +47,7 @@ func (b *Button) apply(window *sysData) error { b.lock.Lock() defer b.lock.Unlock() - b.sysData.clicked = b.Clicked + b.sysData.event = b.Clicked return b.sysData.make(b.initText, 300, 300, window) // TODO size to parent size }