fix iOS easing

This commit is contained in:
Adam Bradley
2015-05-05 14:34:31 -05:00
parent 2e28dbb6cf
commit 9915669859
2 changed files with 1 additions and 10 deletions

View File

@ -255,7 +255,7 @@ export function processElement(action, animation, elementIndex, clearCache) {
the element's current value. */
function parsePropertyValue(valueData, skipResolvingEasing) {
var endValue = valueData[0];
var easing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1], opts.duration);
var easing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1] || opts.easing, opts.duration);
var startValue = valueData[2];
/* Default to the call's easing if a per-property easing type was not defined. */