mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 13:21:03 +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)
|
||||
x = (i % 3) * width
|
||||
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():
|
||||
|
Loading…
Reference in New Issue
Block a user