Commit 2a9971fa authored by David Redondo's avatar David Redondo 🏎
Browse files

Disable AnimationEffects when the screen is locked

BUG:425157
parent c8433e51
......@@ -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();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment