fix micro bug for pin buttons

pull/25/head
chren 8 years ago committed by Pavol Rusnak
parent cb2027ad86
commit 3746777628
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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…
Cancel
Save