From 8c121374b190eaee1907a93bc7bd472120e6b8d7 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 11 Aug 2019 23:56:19 +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 a9b181b5..448ad8cf 100644 --- a/apps/hello/hello.go +++ b/apps/hello/hello.go @@ -54,7 +54,7 @@ func loop(w *app.Window) error { material.Record(ops) paint.ColorOp{Color: maroon}.Add(ops) material.Stop() - text.Label{Material: material, Face: face, Alignment: text.Center, Text: message}.Layout(ops, cs) + text.Label{Material: material, Face: face, Alignment: text.Middle, Text: message}.Layout(ops, cs) w.Update(ops) } }