Vertically centered the text in the icon cards

This commit is contained in:
Adubbz 2018-02-24 19:35:38 +11:00 committed by plutoo
parent 811bcdda1d
commit 3a2264e4df

View File

@ -182,7 +182,7 @@ static void drawEntry(menuEntry_s* me, int off_x, int is_active) {
}
}
DrawTextTruncate(interuiregular14, start_x + 8, start_y + 8, MakeColor(64, 64, 64, 255), me->name, 140 - 32, "...");
DrawTextTruncate(interuiregular14, start_x + 4, start_y + 4, MakeColor(64, 64, 64, 255), me->name, 140 - 32, "...");
if (is_active) {
start_x = 1280 - 790;