mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
+1
-1
@@ -54,7 +54,7 @@ func loop(w *app.Window) error {
|
|||||||
material.Record(ops)
|
material.Record(ops)
|
||||||
paint.ColorOp{Color: maroon}.Add(ops)
|
paint.ColorOp{Color: maroon}.Add(ops)
|
||||||
material.Stop()
|
material.Stop()
|
||||||
text.Label{Material: material, Face: face, Alignment: text.Center, Text: message}.Layout(ops, cs)
|
text.Label{Material: material, Face: face, Alignment: text.Middle, Text: message}.Layout(ops, cs)
|
||||||
w.Update(ops)
|
w.Update(ops)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user