From ac0be4b0615d51d6490082233d53ad0ec98631c2 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 5 Feb 2018 14:55:03 +0100 Subject: [PATCH] ui/scroll: tweak swipe animation --- src/trezor/ui/scroll.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trezor/ui/scroll.py b/src/trezor/ui/scroll.py index 8f242b4463..14aa5ad805 100644 --- a/src/trezor/ui/scroll.py +++ b/src/trezor/ui/scroll.py @@ -34,12 +34,13 @@ async def animate_swipe(): time_delay = const(40000) draw_delay = const(200000) + ui.display.text_center(130, 220, 'Swipe', ui.BOLD, ui.GREY, ui.BG) + sleep = loop.sleep(time_delay) icon = res.load(ui.ICON_SWIPE) for t in ui.pulse(draw_delay): fg = ui.blend(ui.GREY, ui.DARK_GREY, t) ui.display.icon(70, 205, icon, fg, ui.BG) - ui.display.text_center(130, 220, 'Swipe', ui.BOLD, fg, ui.BG) yield sleep