@@ -151,8 +151,8 @@ export default class Animation extends EventEmitter {
151151 * @param {Object } options
152152 * @param {Object } options.shape Shape where property is need to be animated
153153 * @param {String } options.property Property name that need to be animated
154- * @param {Number } [ options.startValue] Start value for animation, by default it takes from shape[property]
155- * @param {Number } [ options.endValue] End value for animation, by default it takes from shape[property]
154+ * @param {Number } options.startValue Start value for animation, by default it takes from shape[property]
155+ * @param {Number } options.endValue End value for animation, by default it takes from shape[property]
156156 * @param {Number } [options.byValue] Step value for easing, by default it calculates automatically
157157 * @param {Number } [options.duration] Duration of the animation in ms, by default it takes from Animation options
158158 * @param {String } [options.easing] Easing that need to apply to animation, by default it takes from Animation options
@@ -161,8 +161,8 @@ export default class Animation extends EventEmitter {
161161 animateProperty ( options ) {
162162 const shape = options . shape ;
163163 const property = options . property ;
164- const startValue = options . startValue || shape . get ( property ) ;
165- const endValue = options . endValue || shape . get ( property ) ;
164+ const startValue = options . startValue ;
165+ const endValue = options . endValue ;
166166 const byValue = options . byValue || ( endValue - startValue ) ;
167167 const duration = options . duration || this . getDuration ( ) ;
168168 const easing = options . easing || this . getEasing ( ) ;
0 commit comments