effects/desktopgrid: don't forget to schedule repaints when timeline is running

BUG: 444678
FIXED-IN: 5.24.4
This commit is contained in:
Jan Blackquill 2022-03-08 17:21:30 +00:00 committed by Nate Graham
parent 5ffc307ca8
commit eb933bfe0b

View file

@ -314,7 +314,7 @@ void DesktopGridEffect::postPaintScreen()
{
bool resetLastPresentTime = true;
if (activated ? timeline.currentValue() != 1 : timeline.currentValue() != 0) {
if (timelineRunning || activated ? timeline.currentValue() != 1 : timeline.currentValue() != 0) {
effects->addRepaintFull(); // Repaint during zoom
resetLastPresentTime = false;
}