summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 15:44:46 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-23 15:44:46 +0100
commit3a940d061c923ea509a3f632aee4674fd2315d37 (patch)
tree8b68a27ea7539c1e386ffa19f50648fcced83b6c
parent10f6d90f16835d0c534dca69fa8c32be37b53b8d (diff)
downloadvdr-plugin-tvguide-3a940d061c923ea509a3f632aee4674fd2315d37.tar.gz
vdr-plugin-tvguide-3a940d061c923ea509a3f632aee4674fd2315d37.tar.bz2
Center channel logos in favorite view
-rw-r--r--recmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recmenuitem.c b/recmenuitem.c
index 6390381..dccf842 100644
--- a/recmenuitem.c
+++ b/recmenuitem.c
@@ -1831,7 +1831,7 @@ void cRecMenuItemEvent::Draw(void) {
if (!tvguideConfig.hideChannelLogos) {
if (imgLoader.LoadLogo(channel, logoWidth, height)) {
cImage logo = imgLoader.GetImage();
- pixmapText->DrawImage(cPoint(logoX, 0), logo);
+ pixmapText->DrawImage(cPoint(logoX, (height - logo.Height()) / 2), logo);
logoX += logoWidth + 5;
}
}