diff options
Diffstat (limited to 'go/ui')
| -rw-r--r-- | go/ui/choice.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/ui/choice.go b/go/ui/choice.go index 9e9b7b2f..2020ed0a 100644 --- a/go/ui/choice.go +++ b/go/ui/choice.go @@ -16,8 +16,8 @@ type Choice struct { func choiceButtonOnClickDummy(b *SimpleButton) {} func NewChoice(x, y int, width, choiceHeight int, choices []string, - onClick func(*Choice, int, int)) *Choice { - + onClick func(*Choice, int, int), +) *Choice { c := &Choice{x, y, width, choiceHeight, choices, onClick, []Button{}} for i, choice := range c.choices { |
