apps/gophers: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-26 18:43:21 +02:00
parent dc6fedc163
commit 90e2a119c0
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ func (u *UI) layoutTimings(gtx *layout.Context) {
if !u.profiling {
return
}
for e, ok := gtx.Next(u); ok; e, ok = gtx.Next(u) {
for _, e := range gtx.Events(u) {
if e, ok := e.(system.ProfileEvent); ok {
u.profile = e
}
@@ -197,7 +197,7 @@ func (u *UI) Layout(gtx *layout.Context) {
u.faces.Reset(gtx)
for i := range u.userClicks {
click := &u.userClicks[i]
for e, ok := click.Next(gtx); ok; e, ok = click.Next(gtx) {
for _, e := range click.Events(gtx) {
if e.Type == gesture.TypeClick {
u.selectedUser = u.newUserPage(u.users[i])
}