mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
update bug fix
This commit is contained in:
parent
fd5fa1f962
commit
46a3449ad1
@ -202,6 +202,7 @@ func (self *UpdatePage) CheckUpdate() bool {
|
||||
|
||||
if git_revision_short_hash != ret.GitVersion {
|
||||
self.ConfirmPage.Version = ret.GitVersion
|
||||
self.ConfirmPage.GIT = true
|
||||
self.Screen.PushCurPage()
|
||||
self.Screen.SetCurPage(self.ConfirmPage)
|
||||
|
||||
|
||||
@ -84,7 +84,7 @@ func (self *ConfirmPage) Reset() {
|
||||
x,y := self.MyList[0].Coord()
|
||||
w,h := self.MyList[0].Size()
|
||||
|
||||
self.MyList[0].NewCoord( (self.Width - w)/2, (self.Width - h)/2)
|
||||
self.MyList[0].NewCoord( (self.Width - w)/2, (self.Height - h)/2)
|
||||
|
||||
x,y = self.MyList[0].Coord()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user