summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--libcore/pixmapcontainer.c2
2 files changed, 3 insertions, 1 deletions
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;