From afcff9c8b507381281a5c39159adec65dadc115e Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 21 Oct 2019 10:38:58 +0200 Subject: [PATCH] layout: fix comment Signed-off-by: Elias Naur --- layout/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/list.go b/layout/list.go index 672b07ca..917f431a 100644 --- a/layout/list.go +++ b/layout/list.go @@ -88,7 +88,7 @@ func (l *List) init(gtx *Context, len int) { l.next() } -// Layout the List and return its dimensions. +// Layout the List. func (l *List) Layout(gtx *Context, len int, w ListElement) { for l.init(gtx, len); l.more(); l.next() { cs := axisConstraints(l.Axis, Constraint{Max: inf}, axisCrossConstraint(l.Axis, l.ctx.Constraints))