From d5a91f36dc6387e51e74982e8087be7b04d585a2 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 13 Mar 2015 18:07:33 +0100 Subject: fixed FadeOut bug --- HISTORY | 2 ++ libcore/pixmapcontainer.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index ae0ecd4..7f518fe 100644 --- a/HISTORY +++ b/HISTORY @@ -209,3 +209,5 @@ Version 0.2.2 Version 0.3.0 - checking setup conditions for viewelements +- fixed FadeOut bug + diff --git a/libcore/pixmapcontainer.c b/libcore/pixmapcontainer.c index 3e5e60a..94fe3eb 100644 --- a/libcore/pixmapcontainer.c +++ b/libcore/pixmapcontainer.c @@ -358,7 +358,7 @@ void cPixmapContainer::FadeOut(void) { } DoFlush(); int Delta = cTimeMs::Now() - Now; - if (Running() && (Delta < FadeFrameTime)) + if (Delta < FadeFrameTime) cCondWait::SleepMs(FadeFrameTime - Delta); if ((int)(Now - Start) > fadeTime) break; -- cgit v1.2.3