example,cmd: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-18 15:05:12 +01:00
parent 16cc51ee8a
commit 26f34a3331
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ module gioui.org/cmd
go 1.13
require (
gioui.org v0.0.0-20191109184219-65c783179dbb
gioui.org v0.0.0-20191118140311-16cc51ee8aa6
github.com/chromedp/cdproto v0.0.0-20191009033829-c22f49c9ff0a
github.com/chromedp/chromedp v0.5.1
golang.org/x/image v0.0.0-20190802002840-cff245a6509b
+2 -2
View File
@@ -1,6 +1,6 @@
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
gioui.org v0.0.0-20191109184219-65c783179dbb h1:5bQ+OfWFec3Dqgf1wpqtwGQZq/yaVGsgTKM1D4SNIek=
gioui.org v0.0.0-20191109184219-65c783179dbb/go.mod h1:KqFFi2Dq5gYA3FJ0sDOt8OBXoMsuxMtE8v2f0JExXAY=
gioui.org v0.0.0-20191118140311-16cc51ee8aa6 h1:BGCyE3K5szHLZqNXruHBC+z++CHKznJyi8KXdNEc754=
gioui.org v0.0.0-20191118140311-16cc51ee8aa6/go.mod h1:KqFFi2Dq5gYA3FJ0sDOt8OBXoMsuxMtE8v2f0JExXAY=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/chromedp/cdproto v0.0.0-20191009033829-c22f49c9ff0a h1:AuIGvB6IuWpMEdfKQ+t77D6dzLpNftzxAsktehYyWn8=
+2 -2
View File
@@ -122,9 +122,9 @@ func (w *quarterWidget) Layout(gtx *layout.Context) {
Y: float32(gtx.Constraints.Height.Max),
}}}.Add(gtx.Ops)
pointer.RectAreaOp{Rect: image.Rectangle{
pointer.Rect(image.Rectangle{
Max: image.Pt(gtx.Constraints.Width.Max, gtx.Constraints.Height.Max),
}}.Add(gtx.Ops)
}).Add(gtx.Ops)
pointer.InputOp{Key: w}.Add(gtx.Ops)
for _, e := range gtx.Events(w) {