Skip to content

Commit

Permalink
Unset blur and contrast force roles at the end of animation
Browse files Browse the repository at this point in the history
  • Loading branch information
zzag committed Jan 8, 2022
1 parent 38e04c3 commit 44c02fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slidingnotificationseffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ void SlidingNotificationsEffect::postPaintScreen()
window->addRepaint(it->clip);

if (it->timeline.done()) {
unforceBlurEffect(window);
unforceContrastEffect(window);
if (window->isDeleted()) {
window->unrefWindow();
}
it = m_animations.erase(it);
} else {
unforceBlurEffect(window);
unforceContrastEffect(window);
++it;
}
}
Expand Down

0 comments on commit 44c02fb

Please sign in to comment.