Restructure for automatic Fragment registration by Gio.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user