mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2025-12-12 15:38:52 +01:00
update scroll func
This commit is contained in:
parent
0efb5925dd
commit
fd75bef052
@ -210,20 +210,12 @@ class CoresPage(Page):
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
if event.key == CurKeys["Left"]: # PageUp
|
||||
move = 3
|
||||
|
||||
for i in range(move):
|
||||
self.ScrollUp()
|
||||
|
||||
self.ScrollUp(3)
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
if event.key == CurKeys["Right"]: # PageDown
|
||||
move = 3
|
||||
|
||||
for i in range(move):
|
||||
self.ScrollDown()
|
||||
|
||||
self.ScrollDown(3)
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user