mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
submodule init and update
This commit is contained in:
parent
fc099786fe
commit
f9a74d6579
@ -145,6 +145,8 @@ class MainScreen(Widget):
|
||||
_Closed = False
|
||||
_CounterScreen = None
|
||||
|
||||
_LastKey = -1
|
||||
|
||||
def __init__(self):
|
||||
self._Pages = []
|
||||
self._MyPageStack = PageStack()
|
||||
@ -636,7 +638,8 @@ class MainScreen(Widget):
|
||||
if callable( current_page_key_down_cb ):
|
||||
self._CurrentPage.KeyDown(event)
|
||||
|
||||
|
||||
self._LastKey = event.key
|
||||
|
||||
def DrawRun(self):
|
||||
self._MsgBox.SetText(MyLangManager.Tr("Launching"))
|
||||
self._MsgBox.Draw()
|
||||
|
||||
@ -603,7 +603,6 @@ class Page(Widget):
|
||||
if cur_li._PosY +cur_li._Height > self._Height:
|
||||
for i in range(0,len(self._MyList)):
|
||||
self._MyList[i]._PosY -= self._MyList[i]._Height*dy
|
||||
|
||||
|
||||
def KeyDown(self,event):##default keydown,every inherited page class should have it's own KeyDown
|
||||
if event.key == CurKeys["A"]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user