Use ol.easing instead of goog.fx.easing

This commit is contained in:
Tom Payne
2013-03-09 02:03:59 +01:00
parent e12458b32e
commit 77bd279160
3 changed files with 8 additions and 10 deletions

View File

@@ -39,9 +39,9 @@ ol.easing.linear = function(t) {
*/
ol.easing.upAndDown = function(t) {
if (t < 0.5) {
return goog.fx.easing.inAndOut(2 * t);
return ol.easing.inAndOut(2 * t);
} else {
return 1 - goog.fx.easing.inAndOut(2 * (t - 0.5));
return 1 - ol.easing.inAndOut(2 * (t - 0.5));
}
};