Center channel logos in favorite view

This commit is contained in:
kamel5 2019-03-23 15:44:46 +01:00
parent 10f6d90f16
commit 3a940d061c

View File

@ -1831,7 +1831,7 @@ void cRecMenuItemEvent::Draw(void) {
if (!tvguideConfig.hideChannelLogos) { if (!tvguideConfig.hideChannelLogos) {
if (imgLoader.LoadLogo(channel, logoWidth, height)) { if (imgLoader.LoadLogo(channel, logoWidth, height)) {
cImage logo = imgLoader.GetImage(); cImage logo = imgLoader.GetImage();
pixmapText->DrawImage(cPoint(logoX, 0), logo); pixmapText->DrawImage(cPoint(logoX, (height - logo.Height()) / 2), logo);
logoX += logoWidth + 5; logoX += logoWidth + 5;
} }
} }