From 6728a11fdf863f7a33eb14e84421b828ab28c09f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 11 Jun 2018 20:04:21 -0400 Subject: Apply gofmt --- lib/ui/stack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ui/stack.go') diff --git a/lib/ui/stack.go b/lib/ui/stack.go index 2b97e78..2e3f0b9 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) } -- cgit v1.2.3