redraw the parent item when the animation updates
to be backported BUG: 166347 CCMAIL:panel-devel@kde.org svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831975
This commit is contained in:
parent
6e22253b97
commit
a1ff7b38f4
@ -616,6 +616,8 @@ void Animator::timerEvent(QTimerEvent *event)
|
||||
<< state->currentFrame + qMax(1, elapsed / state->interval) << endl;*/
|
||||
state->currentFrame += (KGlobalSettings::graphicEffectsLevel() & KGlobalSettings::SimpleAnimationEffects) ?
|
||||
qMax(1, elapsed / state->interval) : state->frames - state->currentFrame;
|
||||
|
||||
state->item->update();
|
||||
if (state->currentFrame < state->frames) {
|
||||
state->currentInterval = state->interval;
|
||||
//TODO: calculate a proper interval based on the curve
|
||||
|
Loading…
Reference in New Issue
Block a user