diff --git a/core/src/trezor/ui/layouts/tr/__init__.py b/core/src/trezor/ui/layouts/tr/__init__.py index 5d9a77b3d..5ec3e6a20 100644 --- a/core/src/trezor/ui/layouts/tr/__init__.py +++ b/core/src/trezor/ui/layouts/tr/__init__.py @@ -77,18 +77,23 @@ class RustLayout(ui.Layout): def _press_left(self) -> Any: """Triggers left button press.""" self.layout.button_event(io.BUTTON_PRESSED, io.BUTTON_LEFT) + self._paint() return self.layout.button_event(io.BUTTON_RELEASED, io.BUTTON_LEFT) def _press_right(self) -> Any: """Triggers right button press.""" self.layout.button_event(io.BUTTON_PRESSED, io.BUTTON_RIGHT) + self._paint() return self.layout.button_event(io.BUTTON_RELEASED, io.BUTTON_RIGHT) def _press_middle(self) -> Any: """Triggers middle button press.""" self.layout.button_event(io.BUTTON_PRESSED, io.BUTTON_LEFT) + self._paint() self.layout.button_event(io.BUTTON_PRESSED, io.BUTTON_RIGHT) + self._paint() self.layout.button_event(io.BUTTON_RELEASED, io.BUTTON_LEFT) + self._paint() return self.layout.button_event(io.BUTTON_RELEASED, io.BUTTON_RIGHT) def _press_button(self, btn_to_press: DebugPhysicalButton) -> Any: