summaryrefslogtreecommitdiff
path: root/displaychannelview.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-06-06 13:39:29 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-12 12:31:14 +0200
commit274750d5fb676361f65a4037129bc6f8017c38e7 (patch)
tree428b982c8940c75bed1fbed9c2e9792b0b37776e /displaychannelview.c
parent15172f07452c60f044383b9e73585b3c41aaa898 (diff)
downloadskin-nopacity-274750d5fb676361f65a4037129bc6f8017c38e7.tar.gz
skin-nopacity-274750d5fb676361f65a4037129bc6f8017c38e7.tar.bz2
Add fade-out to display channel
Diffstat (limited to 'displaychannelview.c')
-rw-r--r--displaychannelview.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/displaychannelview.c b/displaychannelview.c
index baf1c68..daf8c71 100644
--- a/displaychannelview.c
+++ b/displaychannelview.c
@@ -144,12 +144,8 @@ void cNopacityDisplayChannelView::CreatePixmaps(void) {
geoManager->channelFooterHeight)
);
- if (config.GetValue("channelFadeTime")) {
- SetAlpha(0);
- } else {
- int alphaBack = (100 - config.GetValue("channelBackgroundTransparency"))*255/100;
- pixmapBackground->SetAlpha(alphaBack);
- }
+ int alphaBack = (100 - config.GetValue("channelBackgroundTransparency"))*255/100;
+ pixmapBackground->SetAlpha(alphaBack);
}
void cNopacityDisplayChannelView::SetAlpha(int alpha) {