layout: fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-03 17:13:08 +02:00
parent d474b5b16a
commit d350f82011
+1 -1
View File
@@ -37,7 +37,7 @@ func NewContext(q event.Queue) *Context {
}
// layout a widget with a set of constraints and return its
// dimensions. The widget dimensions are constrained abd the previous
// dimensions. The widget dimensions are constrained and the previous
// constraints are restored after layout.
func ctxLayout(gtx *Context, cs Constraints, w Widget) Dimensions {
saved := gtx.Constraints