apps/hello: fix build

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-16 19:35:02 +02:00
parent 51d1c32c07
commit 4513d109b1
+1 -1
View File
@@ -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()
}