apps/hello: fix build

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-11 23:56:19 +02:00
parent 3c69c81401
commit 8c121374b1
+1 -1
View File
@@ -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)
}
}