From 4513d109b17398c45122f8f8585a4dec15aca9c8 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 16 May 2019 19:35:02 +0200 Subject: [PATCH] apps/hello: fix build Signed-off-by: Elias Naur --- apps/hello/hello.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hello/hello.go b/apps/hello/hello.go index ef9ed7ab..32ec8838 100644 --- a/apps/hello/hello.go +++ b/apps/hello/hello.go @@ -54,7 +54,7 @@ func loop(w *app.Window) { faces.Cfg = e.Config cs := layout.ExactConstraints(w.Size()) ops.Reset() - (text.Label{Src: maroon, Face: face, Alignment: text.Center, Text: message}).Layout(ops, cs) + (text.Label{Src: maroon, Face: face, Alignment: text.Center, Text: message}).W(ops, cs) w.Draw(ops) faces.Frame() }