mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 18:28:50 +01:00
info_page_selector bug fix
This commit is contained in:
parent
3829a2a7f9
commit
afe616de9e
@ -18,7 +18,7 @@ class InfoPageSelector(PageSelector):
|
|||||||
|
|
||||||
def Draw(self):
|
def Draw(self):
|
||||||
idx = self._Parent._PsIndex
|
idx = self._Parent._PsIndex
|
||||||
if idx < len(self._Parent._MyList):
|
if idx >= 0 and idx < len(self._Parent._MyList):
|
||||||
y = self._Parent._MyList[idx]._PosY+1
|
y = self._Parent._MyList[idx]._PosY+1
|
||||||
h = self._Parent._MyList[idx]._Height -3
|
h = self._Parent._MyList[idx]._Height -3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user