1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

[Horus] Categories names were written in SMLSIZE when selected, that was weird

This commit is contained in:
Bertrand Songis 2017-01-04 18:32:08 +01:00
parent 1d9c9a6cdb
commit 0933a258e3

View file

@ -47,7 +47,7 @@ void drawCategory(coord_t y, const char * name, bool selected)
{
if (selected) {
lcdDrawSolidFilledRect(1, y-INVERT_VERT_MARGIN, CATEGORIES_WIDTH-10, INVERT_LINE_HEIGHT+2, TEXT_INVERTED_BGCOLOR);
lcdDrawText(6, y, name, SMLSIZE | TEXT_COLOR | INVERS);
lcdDrawText(6, y, name, TEXT_COLOR | INVERS);
}
else {
lcdDrawText(6, y, name, TEXT_COLOR);