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:
parent
49874ae140
commit
ff958d897a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user