apps/gophers: update to latest gio

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-07 20:38:16 +02:00
parent 4e005f2bfa
commit aa703dfc3e
4 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -125,12 +125,12 @@ func (a *App) run() error {
a.w.Invalidate()
}
}
case app.DrawEvent:
case app.UpdateEvent:
ops.Reset()
cfg = e.Config
cs := layout.RigidConstraints(e.Size)
a.ui.Layout(&cfg, a.w.Queue(), ops, cs)
a.w.Draw(ops)
a.w.Update(ops)
}
}
}