mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-04 20:01:18 +00:00
core/ui: mark Controls as dirty in the beginning
(cherry picked from commit c9096d9a0a
)
This commit is contained in:
parent
24d56882e4
commit
8b264ac5c6
@ -230,6 +230,7 @@ class Layout(Control):
|
|||||||
def handle_rendering(self) -> loop.Task: # type: ignore
|
def handle_rendering(self) -> loop.Task: # type: ignore
|
||||||
backlight_fade(style.BACKLIGHT_DIM)
|
backlight_fade(style.BACKLIGHT_DIM)
|
||||||
display.clear()
|
display.clear()
|
||||||
|
self.dispatch(REPAINT, 0, 0)
|
||||||
self.dispatch(RENDER, 0, 0)
|
self.dispatch(RENDER, 0, 0)
|
||||||
display.refresh()
|
display.refresh()
|
||||||
backlight_fade(style.BACKLIGHT_NORMAL)
|
backlight_fade(style.BACKLIGHT_NORMAL)
|
||||||
|
Loading…
Reference in New Issue
Block a user