Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.

This commit is contained in:
Pietro Gagliardi 2014-02-12 21:26:18 -05:00
parent 5bc4c49afa
commit 40dc20be0d
1 changed files with 1 additions and 1 deletions

View File

@ -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
}