example,cmd: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-09 23:03:36 +02:00
parent d1ea9339d5
commit 81a84d874b
11 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func (w *window) loop(events <-chan event.Event) error {
for w.btn.Clicked() {
newWindow()
}
gtx := layout.NewContext(&ops, e.Queue, e.Config, e.Size)
gtx := layout.NewContext(&ops, e)
layout.Center.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
return material.Button(th, &w.btn, "More!").Layout(gtx)
})