KDE/kdebase/workspace/libs/plasma

Marco Martin notmart at gmail.com
Sun Jul 13 20:38:56 CEST 2008


SVN commit 831975 by mart:

redraw the parent item when the animation updates
to be backported

BUG: 166347
CCMAIL:panel-devel at kde.org


 M  +2 -0      animator.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasma/animator.cpp #831974:831975
@@ -616,6 +616,8 @@
                     << 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


More information about the Panel-devel mailing list