mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
bug fix
This commit is contained in:
parent
f023c503d0
commit
709fe20f49
@ -902,8 +902,10 @@ func (self *WifiList) AbortedAndReturnToUpLevel() {
|
||||
|
||||
func (self *WifiList) OnReturnBackCb() {
|
||||
password_inputed := strings.Join(APIOBJ.PasswordPage.Textarea.MyWords,"")
|
||||
if self.Screen.DBusManager.IsWifiConnectedNow() == false {
|
||||
self.ConfigWireless(password_inputed)
|
||||
}
|
||||
}
|
||||
|
||||
func (self *WifiList) KeyDown( ev *event.Event ) {
|
||||
if ev.Data["Key"] == UI.CurKeys["A"] || ev.Data["Key"] == UI.CurKeys["Menu"] {
|
||||
|
||||
@ -100,7 +100,7 @@ func (self *ConfirmPage) SnapMsg(msg string) {
|
||||
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