cmd: update to latest API

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-06-21 17:03:31 +02:00
parent 7aa7bb3be4
commit de5d5e19f5
3 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func loop(w *app.Window) {
cfg = e.Config
cs := layout.ExactConstraints(w.Size())
ops.Reset()
draw.OpColor{Col: maroon}.Add(ops)
draw.ColorOp{Col: maroon}.Add(ops)
text.Label{Face: face, Alignment: text.Center, Text: message}.Layout(ops, cs)
w.Draw(ops)
faces.Frame()