mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-22 20:02:48 +01:00
auto redraw every DT ms
This commit is contained in:
3
main.go
3
main.go
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user