apps: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-02 15:36:36 +02:00
parent e031308172
commit 1673600ac6
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ func (a *App) run() error {
}
}
case app.UpdateEvent:
gtx.Reset(&e.Config, layout.RigidConstraints(e.Size))
gtx.Reset(&e.Config, e.Size)
a.ui.Layout(gtx)
a.w.Update(gtx.Ops)
}
+1 -1
View File
@@ -24,7 +24,7 @@ func BenchmarkUI(b *testing.B) {
Queue: new(queue),
}
for i := 0; i < b.N; i++ {
gtx.Reset(cfg, layout.RigidConstraints(image.Point{800, 600}))
gtx.Reset(cfg, image.Point{800, 600})
u.Layout(gtx)
}
}