speed this up. .5s is way too long
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724314
This commit is contained in:
parent
599f014cff
commit
e6ca32da41
@ -248,7 +248,7 @@ void Phase::moveItem(QGraphicsItem* item, Movement movement, const QPoint &desti
|
|||||||
//TODO: variance in times based on the value of animation
|
//TODO: variance in times based on the value of animation
|
||||||
state->frames = frames / 2;
|
state->frames = frames / 2;
|
||||||
state->currentFrame = 0;
|
state->currentFrame = 0;
|
||||||
state->interval = 500 / state->frames;
|
state->interval = 250 / state->frames;
|
||||||
state->interval = (state->interval / 40) * 40;
|
state->interval = (state->interval / 40) * 40;
|
||||||
state->currentInterval = state->interval;
|
state->currentInterval = state->interval;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user