mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-02 02:41:28 +00:00
fix micro bug for pin buttons
This commit is contained in:
parent
cb2027ad86
commit
3746777628
@ -9,7 +9,7 @@ def digit_area(i):
|
|||||||
height = const(48)
|
height = const(48)
|
||||||
x = (i % 3) * width
|
x = (i % 3) * width
|
||||||
y = (i // 3) * height
|
y = (i // 3) * height
|
||||||
return (x, y + 48, width, height) # 48px is offset of input line
|
return (x, y + 48, width - 1, height - 1) # 48px is offset of input line / -1px is due to corner bug of overlaying elements
|
||||||
|
|
||||||
|
|
||||||
def generate_digits():
|
def generate_digits():
|
||||||
|
Loading…
Reference in New Issue
Block a user