Whoops, forgot to turn Button.sysData.clicked into Button.sysData.event.
This commit is contained in:
parent
5bc4c49afa
commit
40dc20be0d
|
@ -47,7 +47,7 @@ func (b *Button) apply(window *sysData) error {
|
||||||
b.lock.Lock()
|
b.lock.Lock()
|
||||||
defer b.lock.Unlock()
|
defer b.lock.Unlock()
|
||||||
|
|
||||||
b.sysData.clicked = b.Clicked
|
b.sysData.event = b.Clicked
|
||||||
return b.sysData.make(b.initText, 300, 300, window)
|
return b.sysData.make(b.initText, 300, 300, window)
|
||||||
// TODO size to parent size
|
// TODO size to parent size
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue