auto redraw every DT ms

This commit is contained in:
cuu 2019-01-01 06:06:06 +00:00
parent 28a4e33c2b
commit 79a5f5759d

View File

@ -214,10 +214,13 @@ func InspectionTeam(main_screen *UI.MainScreen) {
} }
main_screen.Draw()
main_screen.SwapAndShow()
gotime.Sleep(gotime.Duration(UI.DT) * gotime.Millisecond) gotime.Sleep(gotime.Duration(UI.DT) * gotime.Millisecond)
} }
} }
func PreparationInAdv(){ func PreparationInAdv(){
if strings.Contains(runtime.GOARCH,"arm") == false { if strings.Contains(runtime.GOARCH,"arm") == false {