This commit is contained in:
cuu
2023-01-24 04:24:07 +00:00
parent 7814f9ca6f
commit ed2454ea64
29 changed files with 80 additions and 104 deletions

View File

@@ -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()
}
}