diff --git a/main.go b/main.go index 14a6855..f1b04db 100644 --- a/main.go +++ b/main.go @@ -99,5 +99,8 @@ func main() { return true } + b.OnShow(func(e events.Event) { + b.Update() // TODO: needed for image sizing on initial load + }) b.RunMainWindow() }