ed25c668c30064396019b78ba61d04fac9b181a9 — Elias Naur 4 months ago 3102c21
cmd/scatter: update gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 files changed, 11 insertions(+), 11 deletions(-)

M cmd/scatter/ui.go
M go.mod
M go.sum
M cmd/scatter/ui.go => cmd/scatter/ui.go +4 -4
@@ 566,7 566,7 @@ func (p *contactsPage) Layout(c ui.Config, q input.Queue, ops *ui.Ops, cs layout
 	}
 	cs = sysInset.Begin(c, ops, cs)
 	for l.Init(c, q, ops, cs, len(p.contacts)); l.More(); l.Next() {
-		l.Elem(p.contact(c, ops, l.Constraints(), l.Index()))
+		l.End(p.contact(c, ops, l.Constraints(), l.Index()))
 	}
 	dims = l.Layout()
 	dims = sysInset.End(dims)


@@ 755,7 755,7 @@ func (p *signInPage) layoutSigninForm(c ui.Config, q input.Queue, ops *ui.Ops, c
 			dims = p.submit.Layout(c, p.env, ops, cs)
 			dims = align.End(in.End(dims))
 		}
-		l.Elem(dims)
+		l.End(dims)
 	}
 	return l.Layout()
 }


@@ 957,7 957,7 @@ func (p *threadsPage) layoutThreads(c ui.Config, q input.Queue, ops *ui.Ops, cs 
 		cs := in.Begin(c, ops, l.Constraints())
 		dims := p.thread(c, ops, cs, l.Index())
 		dims = in.End(dims)
-		l.Elem(dims)
+		l.End(dims)
 	}
 	dims := l.Layout()
 	return dims


@@ 1205,7 1205,7 @@ func (p *threadPage) Layout(c ui.Config, q input.Queue, ops *ui.Ops, cs layout.C
 		cs.Height.Min = cs.Height.Max
 		cs = sysInset.Begin(c, ops, cs)
 		for l.Init(c, q, ops, cs, len(p.messages)); l.More(); l.Next() {
-			l.Elem(p.message(c, ops, l.Constraints(), l.Index()))
+			l.End(p.message(c, ops, l.Constraints(), l.Index()))
 		}
 		dims = l.Layout()
 		dims = sysInset.End(dims)

M go.mod => go.mod +2 -2
@@ 3,8 3,8 @@ module scatter.im
 go 1.13
 
 require (
-	gioui.org/cmd v0.0.0-20190810103458-6d1339733a1d // indirect
-	gioui.org/ui v0.0.0-20190810102917-1a15d7241ac4
+	gioui.org/cmd v0.0.0-20190810144902-ba3a952af2b9 // indirect
+	gioui.org/ui v0.0.0-20190810144902-ba3a952af2b9
 	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 +5 -5
@@ 1,8 1,8 @@
-gioui.org v0.0.0-20190810103458-6d1339733a1d h1:DIDUDEB6us6ykMtrAybcQOhANn7Z81SmLuX3BvErM6c=
-gioui.org/cmd v0.0.0-20190810103458-6d1339733a1d h1:VC/Fql8Eaf6AeVttrHkwGgwwzMZ3OW8RREL6mImUABc=
-gioui.org/cmd v0.0.0-20190810103458-6d1339733a1d/go.mod h1:UMcjphQ+C0R8Cm60PoNW4LZwPzFFSXYCvw0cY+YPQUM=
-gioui.org/ui v0.0.0-20190810102917-1a15d7241ac4 h1:XFJjHD8dzAVl2/zCueTXiB/i4B3kiFLdY0Hm67m7XhU=
-gioui.org/ui v0.0.0-20190810102917-1a15d7241ac4/go.mod h1:jbaSHnW/jO2+8gOhOraRz7/3A2tntNzXF9nra6FUOr4=
+gioui.org v0.0.0-20190810144902-ba3a952af2b9 h1:pr1w/LhWB649Fgg0ULvgZ9EkCCSf0YLARWh4G1UhTJE=
+gioui.org/cmd v0.0.0-20190810144902-ba3a952af2b9 h1:F9aPJ7QmGgW2IaVgr+f+YpLKi+dFQNErGL5G+ineETs=
+gioui.org/cmd v0.0.0-20190810144902-ba3a952af2b9/go.mod h1:UMcjphQ+C0R8Cm60PoNW4LZwPzFFSXYCvw0cY+YPQUM=
+gioui.org/ui v0.0.0-20190810144902-ba3a952af2b9 h1:LGmJoEWW/vJhd0spAKDYtLWjJ3YBmV9DGi7n5XR7y0M=
+gioui.org/ui v0.0.0-20190810144902-ba3a952af2b9/go.mod h1:jbaSHnW/jO2+8gOhOraRz7/3A2tntNzXF9nra6FUOr4=
 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=