Browse Source

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

feature/coffeescript
Sven Slootweg 8 years ago
parent
commit
247975216b
  1. 1
      compiled/radium.js
  2. 1
      radium/engine.ease.coffee

1
compiled/radium.js

@ -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;

1
radium/engine.ease.coffee

@ -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