diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 03:02:02 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 03:02:02 (GMT) |
commit | 25dffe6b5367518486edf8a91d5674be4852c50e (patch) | |
tree | 85d75144b88844b0212cf45cee9f3790288e75dc /src/declarative/util/qmlanimation.cpp | |
parent | cb9ce64d9a233f6c53b5961cfe637ccc2ac6fa69 (diff) | |
download | Qt-25dffe6b5367518486edf8a91d5674be4852c50e.zip Qt-25dffe6b5367518486edf8a91d5674be4852c50e.tar.gz Qt-25dffe6b5367518486edf8a91d5674be4852c50e.tar.bz2 |
More robust AnchorChanges.
Still not completely reliable -- doesn't handle cancellations well, and
checking if one Anchor change overrides another isn't reliable.
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r-- | src/declarative/util/qmlanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp index 02b747f..d224388 100644 --- a/src/declarative/util/qmlanimation.cpp +++ b/src/declarative/util/qmlanimation.cpp @@ -1425,11 +1425,11 @@ void QmlParallelAnimation::transition(QmlStateActions &actions, { Q_D(QmlAnimationGroup); - //needed for Behavior + //needed for Behavior if (d->userProperty.isValid() && d->propertyName.isEmpty() && !target()) { for (int i = 0; i < d->animations.count(); ++i) d->animations.at(i)->setTarget(d->userProperty); - } + } for (int ii = 0; ii < d->animations.count(); ++ii) { d->animations.at(ii)->transition(actions, modified, direction); |