Horus : adjust INVERS background for all text sizes (#4755)

* Adjust INVERS background for all text sizes

* More proper fix (I think)
This commit is contained in:
3djc
2017-04-08 10:32:30 +02:00
committed by Bertrand Songis
parent 87c45beba2
commit 116d24ec37
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ uint8_t getStringInfo(const char *s)
uint8_t getFontHeight(LcdFlags flags)
{
static const uint8_t heightTable[16] = { 12, 10, 11, 14, 32, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12 };
static const uint8_t heightTable[16] = { 9, 13, 16, 24, 32, 64, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12 };
return heightTable[FONTINDEX(flags)];
}