mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
apps: update to renamed ColorOp.Color field
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user