change number of frame for sliding animation, just to test. I should add

a slown effect

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729219
This commit is contained in:
Alexis Ménard 2007-10-25 10:15:06 +00:00
parent 49874ae140
commit ff958d897a

View File

@ -291,7 +291,7 @@ void Phase::moveItem(QGraphicsItem* item, Movement movement, const QPoint &desti
//TODO: variance in times based on the value of animation
state->frames = frames / 2;
state->currentFrame = 0;
state->interval = 250 / state->frames;
state->interval = 400 / state->frames;
state->interval = (state->interval / MIN_TICK_RATE) * MIN_TICK_RATE;
state->currentInterval = state->interval;