1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 15:30:55 +00:00

core/ui: fix HoldToConfirm redraw

This commit is contained in:
Pavol Rusnak 2020-02-07 16:04:17 +01:00
parent 32f8f1cb61
commit fdfa64ac2a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -256,7 +256,7 @@ class HoldToConfirm(ui.Layout):
# Loader has either started growing, or returned to the 0-position.
# In the first case we need to clear the content leftovers, in the latter
# we need to render the content again.
ui.display.bar(0, 0, ui.WIDTH, ui.HEIGHT - 60, ui.BG)
ui.display.bar(0, 0, ui.WIDTH, ui.HEIGHT - 58, ui.BG)
self.content.dispatch(ui.REPAINT, 0, 0)
def _on_click(self) -> None: