Settings ScrollUp bug fix

This commit is contained in:
cuu
2018-12-14 15:18:42 +08:00
parent 6bfe64c59b
commit 01a1ca08c5
4 changed files with 300 additions and 1 deletions

View File

@@ -175,7 +175,7 @@ func (self *SettingsPage) ScrollUp() {
}
cur_li := self.MyList[self.PsIndex]
x,y := cur_li.Coord()
if x < 0 {
if y < 0 {
for i:=0;i<len(self.MyList);i++ {
_,h := self.MyList[i].Size()
x,y = self.MyList[i].Coord()