Restructure for automatic Fragment registration by Gio.

This commit is contained in:
gmp
2019-11-21 18:18:47 -05:00
parent 23df75fd15
commit 4fc504b89a
6 changed files with 31 additions and 161 deletions
+4 -4
View File
@@ -827,11 +827,11 @@ func eventLoop() {
return
case system.StageEvent:
if e.Stage == system.StageRunning {
initPgp(w)
go func() {
initPgp(w)
updateIdBtns()
}()
}
go func() {
updateIdBtns()
}()
case system.FrameEvent:
gtx.Reset(e.Config, e.Size)