mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
+1
-1
@@ -54,7 +54,7 @@ func loop(w *app.Window) {
|
||||
faces.Cfg = e.Config
|
||||
cs := layout.ExactConstraints(w.Size())
|
||||
ops.Reset()
|
||||
(text.Label{Src: maroon, Face: face, Alignment: text.Center, Text: message}).Layout(ops, cs)
|
||||
(text.Label{Src: maroon, Face: face, Alignment: text.Center, Text: message}).W(ops, cs)
|
||||
w.Draw(ops)
|
||||
faces.Frame()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user