diff options
Diffstat (limited to 'go/ui/cardView.go')
| -rw-r--r-- | go/ui/cardView.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go/ui/cardView.go b/go/ui/cardView.go index 0dff9481..066b73fc 100644 --- a/go/ui/cardView.go +++ b/go/ui/cardView.go @@ -56,7 +56,8 @@ func NewToggleCardView(x, y, wdth, hght int, cardPath string) *ToggleCardView { cv := &ToggleCardView{ EventHandlersMap: NewEventHandlersMap(), cv: NewScaledCardView(x, y, wdth, hght, cardPath), - expanded: true} + expanded: true, + } cv.tgglBtn = NewSimpleButton(x, y+10, 80, 50, ">", func(b *SimpleButton) { shift := float64(cv.cv.Width - 80) |
