mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
cmd: update to latest API
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user