mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
apps/gophers: update event method names
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ module gioui.org/apps
|
|||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
require (
|
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
|
github.com/google/go-github/v24 v24.0.1
|
||||||
golang.org/x/exp v0.0.0-20190321205749-f0864edee7f3
|
golang.org/x/exp v0.0.0-20190321205749-f0864edee7f3
|
||||||
golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f
|
golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f
|
||||||
|
|||||||
@@ -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) {
|
func (up *userPage) Update(cfg *ui.Config, pqueue pointer.Events) {
|
||||||
up.cfg = cfg
|
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 {
|
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 {
|
func (a *App) layoutContributors(ops *ui.Ops, cs layout.Constraints) layout.Dimens {
|
||||||
c := a.cfg
|
c := a.cfg
|
||||||
l := a.usersList
|
l := a.usersList
|
||||||
l.Scroll(c, a.pqueue)
|
l.Update(c, a.pqueue)
|
||||||
if l.Dragging() {
|
if l.Dragging() {
|
||||||
key.OpHideInput{}.Add(ops)
|
key.OpHideInput{}.Add(ops)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user