Better align time to the toolbox movement.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758309
This commit is contained in:
Riccardo Iaconelli 2008-01-07 15:35:43 +00:00
parent 6e46fe97ff
commit a0026909d2

View File

@ -292,7 +292,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 = 240 / state->frames;
state->interval = (state->interval / MIN_TICK_RATE) * MIN_TICK_RATE;
state->currentInterval = state->interval;