Disable AnimationEffects when the screen is locked
BUG:425157
This commit is contained in:
parent
c8433e5194
commit
2a9971fa08
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue