summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-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
}