mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-09-06 13:34:36 +02:00
fix
This commit is contained in:
@@ -281,7 +281,6 @@ func (self *MainScreen) SwapAndShow() {
|
||||
surface.Blit(self.HWND, self.CanvasHWND, &rect_, nil)
|
||||
}
|
||||
|
||||
|
||||
display.Flip()
|
||||
}
|
||||
|
||||
@@ -428,8 +427,7 @@ func (self *MainScreen) ShowMsg(content string, blocktime int) {
|
||||
|
||||
if blocktime > 0 {
|
||||
time.BlockDelay(blocktime)
|
||||
self.CurrentPage.Draw()
|
||||
self.SwapAndShow()
|
||||
self.Refresh()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user