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 4e3d7e1..aa1c0bd 100644
--- a/button.go
+++ b/button.go
@@ -42,7 +42,7 @@ func (b *Button) make(window *sysData) error {
defer b.lock.Unlock()
b.sysData.event = b.Clicked
- err := b.sysData.make(b.initText, 300, 300, window)
+ err := b.sysData.make(b.initText, window)
if err != nil {
return err
}