diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-07-11 14:02:45 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-07-30 14:17:59 +0200 |
commit | b6e1d8c80056ad8b90cca019cba69186baa4519e (patch) | |
tree | 8815ec74b3823b92d72013a3837566ec76c24543 /displayreplay.c | |
parent | 43862c7c80eb8ff2b113a02c708e51498cdffab1 (diff) | |
download | skin-nopacity-b6e1d8c80056ad8b90cca019cba69186baa4519e.tar.gz skin-nopacity-b6e1d8c80056ad8b90cca019cba69186baa4519e.tar.bz2 |
Add "Use animation" to setup
With this menu item, the use of animation can be switched off centrally.
Diffstat (limited to 'displayreplay.c')
-rw-r--r-- | displayreplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/displayreplay.c b/displayreplay.c index 0f583bd..1b91787 100644 --- a/displayreplay.c +++ b/displayreplay.c @@ -16,7 +16,7 @@ cNopacityDisplayReplay::cNopacityDisplayReplay(bool ModeOnly) : cThread("Display } cNopacityDisplayReplay::~cNopacityDisplayReplay() { - if (config.GetValue("replayFadeOutTime")) { + if (config.GetValue("animation") && config.GetValue("replayFadeOutTime")) { fadeout = true; Start(); } @@ -499,7 +499,7 @@ void cNopacityDisplayReplay::Flush(void) { if (!modeOnly) { DrawDate(); } - if (initial && config.GetValue("replayFadeTime")) { + if (initial && config.GetValue("animation") && config.GetValue("replayFadeTime")) { SetAlpha(0); Start(); } |