Make stacked easing not break chained easing, by correctly passing on end values for consecutive easings.

feature/coffeescript
Sven Slootweg 10 years ago
parent b594fe3e05
commit 247975216b

@ -916,6 +916,7 @@
this.value = this.next.value;
this.start_frame = this.last_updated = this.engine.current_frame;
this.infinite = this.next.infinite;
this.end = this.next.end;
this.start = this.next.start;
this.change = this.next.change;
this.invert_repeat = this.next.invert_repeat;

@ -104,6 +104,7 @@ class Ease
@value = @next.value
@start_frame = @last_updated = @engine.current_frame
@infinite = @next.infinite
@end = @next.end
@start = @next.start
@change = @next.change
@invert_repeat = @next.invert_repeat

Loading…
Cancel
Save