mirror of
https://github.com/clockworkpi/launcher_deot.git
synced 2026-04-28 04:49:27 +02:00
update scroll func
This commit is contained in:
@@ -245,12 +245,14 @@ class TimezoneListPage(Page):
|
|||||||
self._Screen.SwapAndShow()
|
self._Screen.SwapAndShow()
|
||||||
|
|
||||||
if event.key == CurKeys["Right"]:
|
if event.key == CurKeys["Right"]:
|
||||||
self.FScrollDown(Step=5)
|
# self.FScrollDown(Step=5)
|
||||||
|
self.ScrollDown(5)
|
||||||
self._Screen.Draw()
|
self._Screen.Draw()
|
||||||
self._Screen.SwapAndShow()
|
self._Screen.SwapAndShow()
|
||||||
|
|
||||||
if event.key == CurKeys["Left"]:
|
if event.key == CurKeys["Left"]:
|
||||||
self.FScrollUp(Step=5)
|
# self.FScrollUp(Step=5)
|
||||||
|
self.ScrollUp(5)
|
||||||
self._Screen.Draw()
|
self._Screen.Draw()
|
||||||
self._Screen.SwapAndShow()
|
self._Screen.SwapAndShow()
|
||||||
|
|
||||||
@@ -301,4 +303,4 @@ class TimezoneListPage(Page):
|
|||||||
if i._PosY < 0:
|
if i._PosY < 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
i.Draw()
|
i.Draw()
|
||||||
|
|||||||
Reference in New Issue
Block a user