mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
example,cmd: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -49,7 +49,7 @@ func (w *window) loop(events <-chan event.Event) error {
|
||||
for w.btn.Clicked() {
|
||||
newWindow()
|
||||
}
|
||||
gtx := layout.NewContext(&ops, e.Queue, e.Config, e.Size)
|
||||
gtx := layout.NewContext(&ops, e)
|
||||
layout.Center.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
|
||||
return material.Button(th, &w.btn, "More!").Layout(gtx)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user