1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00

core/ui: mark Controls as dirty in the beginning

This commit is contained in:
Jan Pochyla 2019-08-05 15:41:44 +02:00
parent 0b628252ad
commit c9096d9a0a

View File

@ -230,6 +230,7 @@ class Layout(Control):
def handle_rendering(self) -> loop.Task: # type: ignore
backlight_fade(style.BACKLIGHT_DIM)
display.clear()
self.dispatch(REPAINT, 0, 0)
self.dispatch(RENDER, 0, 0)
display.refresh()
backlight_fade(style.BACKLIGHT_NORMAL)