summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-12 21:26:18 -0500
committerPietro Gagliardi <[email protected]>2014-02-12 21:26:18 -0500
commit40dc20be0d7141ccc6263b88e005c16378daa8ce (patch)
tree45185267c30e2154935b34243f4d8905a6396ad4
parent5bc4c49afa3d474a7c85939e509683051508acb7 (diff)
Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
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
}