mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2025-12-12 23:48:52 +01:00
Add PageUp/Down for cores
This commit is contained in:
parent
f68e2106ba
commit
2150f57b4f
@ -209,7 +209,23 @@ class CoresPage(Page):
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
|
||||
if event.key == CurKeys["Left"]: # PageUp
|
||||
move = 3
|
||||
|
||||
for i in range(move):
|
||||
self.ScrollUp()
|
||||
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
if event.key == CurKeys["Right"]: # PageDown
|
||||
move = 3
|
||||
|
||||
for i in range(move):
|
||||
self.ScrollDown()
|
||||
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
def Draw(self):
|
||||
self.ClearCanvas()
|
||||
@ -248,5 +264,3 @@ def Init(main_screen):
|
||||
OBJ.Init(main_screen)
|
||||
def API(main_screen):
|
||||
OBJ.API(main_screen)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user