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
8fbeb22c6c
commit
c9740204d7
@ -245,12 +245,14 @@ class TimezoneListPage(Page):
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
if event.key == CurKeys["Right"]:
|
||||
self.FScrollDown(Step=5)
|
||||
# self.FScrollDown(Step=5)
|
||||
self.ScrollDown(5)
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
if event.key == CurKeys["Left"]:
|
||||
self.FScrollUp(Step=5)
|
||||
# self.FScrollUp(Step=5)
|
||||
self.ScrollUp(5)
|
||||
self._Screen.Draw()
|
||||
self._Screen.SwapAndShow()
|
||||
|
||||
@ -301,4 +303,4 @@ class TimezoneListPage(Page):
|
||||
if i._PosY < 0:
|
||||
continue
|
||||
|
||||
i.Draw()
|
||||
i.Draw()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user