apps: update to renamed ColorOp.Color field

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-05 17:17:02 +02:00
parent 38ec6a8831
commit 6440fc35b7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func loop(w *app.Window) {
cs := layout.ExactConstraints(w.Size())
ops.Reset()
ops.Begin()
draw.ColorOp{Col: maroon}.Add(ops)
draw.ColorOp{Color: maroon}.Add(ops)
material := ops.End()
text.Label{Material: material, Face: face, Alignment: text.Center, Text: message}.Layout(ops, cs)
w.Draw(ops)