From 37467776283e0e4b55030c72e05b49d3d34b82ce Mon Sep 17 00:00:00 2001 From: chren Date: Fri, 10 Jun 2016 11:18:55 +0200 Subject: [PATCH] fix micro bug for pin buttons --- src/trezor/ui/pin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trezor/ui/pin.py b/src/trezor/ui/pin.py index 460dcf58c..be4c9c206 100644 --- a/src/trezor/ui/pin.py +++ b/src/trezor/ui/pin.py @@ -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():