1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Font cosmetics

This commit is contained in:
Bertrand Songis 2019-12-13 12:01:49 +01:00
parent 22cfe6499a
commit 0e40e5965f
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -46,7 +46,7 @@ class FontBitmap:
@staticmethod
def is_column_needed(px, x, height):
for y in range(height):
if sum(px[x, y]) <= 3 * 0xC6:
if px[x, y] != (255, 255, 255):
return True
return False