diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-11 20:04:21 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-06-11 20:04:21 -0400 |
commit | 6728a11fdf863f7a33eb14e84421b828ab28c09f (patch) | |
tree | c9e1dcb85e34273b3f166f50a84e608aafe4e502 /lib/ui/stack.go | |
parent | d67c8a60ef9a326ba7e2ff0b5755d8eba629d4eb (diff) | |
download | aerc-6728a11fdf863f7a33eb14e84421b828ab28c09f.tar.gz |
Apply gofmt
Diffstat (limited to 'lib/ui/stack.go')
-rw-r--r-- | lib/ui/stack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ui/stack.go b/lib/ui/stack.go index 2b97e78a..2e3f0b99 100644 --- a/lib/ui/stack.go +++ b/lib/ui/stack.go @@ -7,7 +7,7 @@ import ( ) type Stack struct { - children []Drawable + children []Drawable onInvalidate []func(d Drawable) } @@ -15,7 +15,7 @@ func NewStack() *Stack { return &Stack{} } -func (stack *Stack) OnInvalidate(onInvalidate func (d Drawable)) { +func (stack *Stack) OnInvalidate(onInvalidate func(d Drawable)) { stack.onInvalidate = append(stack.onInvalidate, onInvalidate) } |