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

pin/ui: fix clear canvas layer

This commit is contained in:
Peter Jensen 2018-01-26 12:30:27 +01:00
parent 739e4f2e45
commit 5f1632c5fa

View File

@ -38,7 +38,7 @@ class PinMatrix(ui.Widget):
def render(self): def render(self):
# clear canvas under input line # clear canvas under input line
display.bar(0, 0, 205, 48, ui.BG) display.bar(0, 0, 240, 45, ui.BG)
# input line with a header # input line with a header
header = '*' * len(self.pin) if self.pin else self.label header = '*' * len(self.pin) if self.pin else self.label