mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
fix way of scrolling
This commit is contained in:
parent
e8601232e8
commit
cd35a592a1
@ -65,9 +65,9 @@ def layout_reset_device(m):
|
||||
render(page)
|
||||
degrees = yield from Swipe().wait()
|
||||
if degrees == SWIPE_UP:
|
||||
page = max(page - 1, 0)
|
||||
page = max(page + 1, 0)
|
||||
elif degrees == SWIPE_DOWN:
|
||||
page = min(page + 1, count)
|
||||
page = min(page - 1, count)
|
||||
|
||||
def animate_arrow():
|
||||
def func(foreground):
|
||||
|
Loading…
Reference in New Issue
Block a user