makerplane / pyEfis

Electronic Flight Information System in Python
GNU General Public License v2.0
58 stars 31 forks source link

Fix numerical display #117

Closed e100 closed 10 months ago

e100 commented 10 months ago

Various improvements to the numerical display.

The scrolling and non-scrolling digits would overlap or be too far apart. Implemented auto font sizing so the numbers always fit the box.

Removed code that would cause 1996 altitude to display like it was 2096. No need to pre-maturely roll over the non-scrolling digits so I removed that.

When number changed from old to not old it was not redrawing all of the digits if the value remained the same.