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 1a352dd..96a68ed 100644
--- a/button.go
+++ b/button.go
@@ -80,7 +80,7 @@ func (b *Button) preferredSize(d *sysSizeData) (width int, height int) {
}
func (b *Button) commitResize(a *allocation, d *sysSizeData) {
- b.sysData.preferredSize(a, d)
+ b.sysData.commitResize(a, d)
}
func (b *Button) getAuxResizeInfo(d *sysSizeData) {