diff --git a/apps/go.mod b/apps/go.mod index f3be9300..b7b84ada 100644 --- a/apps/go.mod +++ b/apps/go.mod @@ -3,7 +3,7 @@ module gioui.org/apps go 1.12 require ( - gioui.org/ui v0.0.0-20190530193900-9b3429d6da91 + gioui.org/ui v0.0.0-20190530195552-a7874d70ef29 github.com/google/go-github/v24 v24.0.1 golang.org/x/exp v0.0.0-20190321205749-f0864edee7f3 golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f diff --git a/apps/gophers/main.go b/apps/gophers/main.go index ce453c0c..a9b6572b 100644 --- a/apps/gophers/main.go +++ b/apps/gophers/main.go @@ -399,7 +399,7 @@ func newUserPage(ctx context.Context, user *user, redraw redrawer, faces measure func (up *userPage) Update(cfg *ui.Config, pqueue pointer.Events) { up.cfg = cfg - up.commitsList.Scroll(up.cfg, pqueue) + up.commitsList.Update(up.cfg, pqueue) } func (up *userPage) Layout(ops *ui.Ops, cs layout.Constraints) layout.Dimens { @@ -552,7 +552,7 @@ func (a *ActionButton) Layout(ops *ui.Ops, cs layout.Constraints) layout.Dimens func (a *App) layoutContributors(ops *ui.Ops, cs layout.Constraints) layout.Dimens { c := a.cfg l := a.usersList - l.Scroll(c, a.pqueue) + l.Update(c, a.pqueue) if l.Dragging() { key.OpHideInput{}.Add(ops) }