this animtion is a slide, is not an absolute position target
svn path=/trunk/KDE/kdelibs/; revision=1137131
This commit is contained in:
parent
e07a9c88bb
commit
b959b74d36
@ -111,8 +111,8 @@ void SlideAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (moveAnyOnly && m_animDirection.testFlag(MoveAny)) {
|
if (moveAnyOnly && m_animDirection.testFlag(MoveAny)) {
|
||||||
newX = actualDistance.x();
|
newX += actualDistance.x();
|
||||||
newY = actualDistance.y();
|
newY += actualDistance.y();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (direction() == QAbstractAnimation::Forward) {
|
if (direction() == QAbstractAnimation::Forward) {
|
||||||
|
Loading…
Reference in New Issue
Block a user