diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index db4e0985..8643a539 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -36,10 +36,10 @@ void setAnimToMove(void* data) { CBaseAnimatedVariable* animvar = (CBaseAnimatedVariable*)data; - if (animvar->getWindow() && !animvar->getWindow()->m_vRealPosition.isBeingAnimated() && !animvar->getWindow()->m_vRealSize.isBeingAnimated()) { - animvar->setConfig(PANIMCFG); + animvar->setConfig(PANIMCFG); + + if (animvar->getWindow() && !animvar->getWindow()->m_vRealPosition.isBeingAnimated() && !animvar->getWindow()->m_vRealSize.isBeingAnimated()) animvar->getWindow()->m_bAnimatingIn = false; - } } void Events::listener_mapWindow(void* owner, void* data) {