example: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-08 21:38:09 +02:00
parent abb99eca5c
commit 88e58a98b3
5 changed files with 92 additions and 185 deletions
+2 -2
View File
@@ -125,10 +125,10 @@ func (a *App) run() error {
a.w.Invalidate()
}
}
case app.UpdateEvent:
case app.FrameEvent:
gtx.Reset(&e.Config, e.Size)
a.ui.Layout(gtx)
a.w.Update(gtx.Ops)
e.Frame(gtx.Ops)
}
}
}