M cmd/scatter/ui.go => cmd/scatter/ui.go +3 -3
@@ 559,7 559,7 @@ func (p *contactsPage) contact(gtx *layout.Context, index int) {
f.Layout(gtx, c1, c2)
})
- pointer.RectAreaOp{Rect: image.Rectangle{Max: gtx.Dimensions.Size}}.Add(gtx.Ops)
+ pointer.Rect(image.Rectangle{Max: gtx.Dimensions.Size}).Add(gtx.Ops)
click.Add(gtx.Ops)
}
@@ 590,7 590,7 @@ func (t *Topbar) Layout(gtx *layout.Context, insets layout.Inset, w layout.Widge
paint.PaintOp{Rect: f32.Rectangle{Max: toPointF(ico.Size())}}.Add(gtx.Ops)
gtx.Dimensions.Size = ico.Size()
gtx.Dimensions.Size.X += gtx.Px(unit.Dp(4))
- pointer.RectAreaOp{Rect: image.Rectangle{Max: gtx.Dimensions.Size}}.Add(gtx.Ops)
+ pointer.Rect(image.Rectangle{Max: gtx.Dimensions.Size}).Add(gtx.Ops)
t.backClick.Add(gtx.Ops)
}
})
@@ 947,7 947,7 @@ func (p *threadsPage) thread(gtx *layout.Context, index int) {
})
f.Layout(gtx, c1, c2)
})
- pointer.RectAreaOp{Rect: image.Rectangle{Max: gtx.Dimensions.Size}}.Add(gtx.Ops)
+ pointer.Rect(image.Rectangle{Max: gtx.Dimensions.Size}).Add(gtx.Ops)
click.Add(gtx.Ops)
})
elem.Layout(gtx, c1)
M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module scatter.im
go 1.13
require (
- gioui.org v0.0.0-20191118133714-3edd9dd8be33
+ gioui.org v0.0.0-20191118140311-16cc51ee8aa6
github.com/eliasnaur/libsignal-protocol-go v0.0.0-20190626062856-3295f72b181e
github.com/emersion/go-imap v1.0.0-rc.1
github.com/emersion/go-imap-idle v0.0.0-20190519112320-2704abd7050e
M go.sum => go.sum +2 -2
@@ 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-20191118133714-3edd9dd8be33 h1:jRqEmqxmsw8jlRoRgxuXw0t8BWE+riqCr/WPtoDV29M=
-gioui.org v0.0.0-20191118133714-3edd9dd8be33/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/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b h1:cAULFohNVfNzco0flF4okSPg3s7/tCj+hMIldtYZo4c=
github.com/RadicalApp/complete v0.0.0-20170329192659-17e6c0ee499b/go.mod h1:zZ3+l0EkpT2ZPnoamPBG50PBUtQrXwwyJ6elQZMmqgk=