example/gophers: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-18 14:37:14 +01:00
parent 7299d1c875
commit 3edd9dd8be
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -373,7 +373,10 @@ func (c *clipCircle) Layout(gtx *layout.Context, w layout.Widget) {
rr := szf * .5
var stack op.StackOp
stack.Push(gtx.Ops)
clip.RoundRect(gtx.Ops, f32.Rectangle{Max: f32.Point{X: szf, Y: szf}}, rr, rr, rr, rr).Add(gtx.Ops)
clip.Rect{
Rect: f32.Rectangle{Max: f32.Point{X: szf, Y: szf}},
NE: rr, NW: rr, SE: rr, SW: rr,
}.Op(gtx.Ops).Add(gtx.Ops)
m.Add(gtx.Ops)
stack.Pop()
}