From 2e42673f04335633628ef3897b9146a9984f0bca Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 13 Feb 2016 07:08:26 +0100 Subject: [PATCH] fixed fading of currentelement --- coreengine/animation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreengine/animation.c b/coreengine/animation.c index a5f6caf..aea51a6 100644 --- a/coreengine/animation.c +++ b/coreengine/animation.c @@ -209,7 +209,8 @@ void cAnimation::Detach(void) { if (!Running()) return; detachable->RenderDetached(); if (!Running()) return; - detachable->Flush(); + if (!doAnimation) + detachable->Flush(); if (!Running()) return; if (doAnimation) { detachable->StartAnimation();