Better align time to the toolbox movement.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758309
This commit is contained in:
parent
6e46fe97ff
commit
a0026909d2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user