summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2018-07-26 20:19:34 +0800
committerMark Hung <marklh9@gmail.com>2018-07-27 16:23:39 +0200
commit9605b998438a62501f58c6e028f79b679629b333 (patch)
tree46ea966f82aeffaad699ad31a77fc62082702150 /slideshow
parentcba1c7421338324cb6c91511a294c4861e665c29 (diff)
tdf#76436 initialize maStartInterpolationValue.
Fix regrssion caused by 372c47309a192e67220913309fa1ccffdff8cde1, where a from-to or from-by animation always interpolate with a empty maStartInterpolationValue, ignoring original from value. That also affect many animations, such as unexpected magnify effect at the end of put-on-the-brake animation. Change-Id: If63960816f2f284774c51e12be2fcac8c8a1b57e Reviewed-on: https://gerrit.libreoffice.org/58109 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/activities/activitiesfactory.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/slideshow/source/engine/activities/activitiesfactory.cxx b/slideshow/source/engine/activities/activitiesfactory.cxx
index dadd590257e0..1955be399fe1 100644
--- a/slideshow/source/engine/activities/activitiesfactory.cxx
+++ b/slideshow/source/engine/activities/activitiesfactory.cxx
@@ -208,6 +208,7 @@ public:
maStartValue = *maFrom;
maEndValue = maStartValue + *maBy;
}
+ maStartInterpolationValue = maStartValue;
}
else
{