summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-12-18 12:34:12 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-01-12 13:48:19 +0100
commit6de89bc667b272a41ef1ab27c7f15accb9fb0441 (patch)
tree4cfc9b786f7b09824dab44b1ef7b894fa021904b
parent06c9f8ff27beed5b964f60f69fc2420265bc1a31 (diff)
downloadskin-nopacity-6de89bc667b272a41ef1ab27c7f15accb9fb0441.tar.gz
skin-nopacity-6de89bc667b272a41ef1ab27c7f15accb9fb0441.tar.bz2
Optimize display channellogo in displaychannel
-rw-r--r--displaychannelview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannelview.c b/displaychannelview.c
index 16e59ed..6f7ce3c 100644
--- a/displaychannelview.c
+++ b/displaychannelview.c
@@ -232,7 +232,7 @@ void cNopacityDisplayChannelView::DrawChannelLogo(const cChannel *Channel) {
}
cImage *imgLogo = imgCache->GetLogo(ctLogo, Channel);
if (imgLogo) {
- pixmapLogo->DrawImage(cPoint(0, (geoManager->channelLogoHeight - imgLogo->Height()) / 2), *imgLogo);
+ pixmapLogo->DrawImage(cPoint((geoManager->channelLogoWidth - imgLogo->Width()) / 2, (geoManager->channelLogoHeight - imgLogo->Height()) / 2), *imgLogo);
}
}