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:
parent
739e4f2e45
commit
5f1632c5fa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user