diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-12-16 14:44:00 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-12-16 14:44:00 +0100 |
commit | 46be49e99cc61b3e72424036117cf80aa9e4642f (patch) | |
tree | b9c4e748890808097322433e9fa2a237a78402d6 | |
parent | ed74ddb5fc03fd4c25fba706d8ed7f9fc5b19a9f (diff) | |
download | skin-nopacity-46be49e99cc61b3e72424036117cf80aa9e4642f.tar.gz skin-nopacity-46be49e99cc61b3e72424036117cf80aa9e4642f.tar.bz2 |
Centers ChannelLogos vertically in displaychannel
-rw-r--r-- | displaychannelview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/displaychannelview.c b/displaychannelview.c index 5096cdf..885a970 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,0), *imgLogo); + pixmapLogo->DrawImage(cPoint(0, (geoManager->channelLogoHeight - imgLogo->Height()) / 2), *imgLogo); } } |