diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-01-20 11:14:43 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:44 +0100 |
| commit | cbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5 (patch) | |
| tree | d15c0cfacf1c3668e9e19dba197dfbf5fd8c2017 /go/ui | |
| parent | 104300e058b2406e55367d6b05425428cda15115 (diff) | |
| download | muhqs-game-cbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5.tar.gz muhqs-game-cbed4f79f1f7f90f600ad9d1d711f82c6e09e8e5.zip | |
reformat using gofmtp
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 { |
