mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
+1
-1
@@ -54,7 +54,7 @@ func loop(w *app.Window) {
|
|||||||
faces.Cfg = e.Config
|
faces.Cfg = e.Config
|
||||||
cs := layout.ExactConstraints(w.Size())
|
cs := layout.ExactConstraints(w.Size())
|
||||||
ops.Reset()
|
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)
|
w.Draw(ops)
|
||||||
faces.Frame()
|
faces.Frame()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user