mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
apps/gophers: update to latest gio
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -125,12 +125,12 @@ func (a *App) run() error {
|
||||
a.w.Invalidate()
|
||||
}
|
||||
}
|
||||
case app.DrawEvent:
|
||||
case app.UpdateEvent:
|
||||
ops.Reset()
|
||||
cfg = e.Config
|
||||
cs := layout.RigidConstraints(e.Size)
|
||||
a.ui.Layout(&cfg, a.w.Queue(), ops, cs)
|
||||
a.w.Draw(ops)
|
||||
a.w.Update(ops)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user