example,cmd: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-17 19:52:17 +02:00
parent 03db2817ac
commit dc7a8fd9ea
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ func (w *quarterWidget) Layout(gtx *layout.Context) {
pointer.Rect(image.Rectangle{
Max: image.Pt(gtx.Constraints.Width.Max, gtx.Constraints.Height.Max),
}).Add(gtx.Ops)
pointer.InputOp{Key: w}.Add(gtx.Ops)
pointer.InputOp{Tag: w}.Add(gtx.Ops)
for _, e := range gtx.Events(w) {
if e, ok := e.(pointer.Event); ok && e.Type == pointer.Press {