Disable AnimationEffects when the screen is locked

BUG:425157
master
David Redondo 2020-08-10 11:31:40 +02:00
parent c8433e5194
commit 2a9971fa08
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void AnimationEffect::init()
bool AnimationEffect::isActive() const
{
Q_D(const AnimationEffect);
return !d->m_animations.isEmpty();
return !d->m_animations.isEmpty() && !effects->isScreenLocked();
}