From 247975216bd7cef13616b1b41e145817b86f9c14 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 17 May 2014 11:58:05 +0200 Subject: [PATCH] Make stacked easing not break chained easing, by correctly passing on end values for consecutive easings. --- compiled/radium.js | 1 + radium/engine.ease.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/compiled/radium.js b/compiled/radium.js index a0f1112..d708451 100644 --- a/compiled/radium.js +++ b/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; diff --git a/radium/engine.ease.coffee b/radium/engine.ease.coffee index 8d4b3c3..fae48cd 100644 --- a/radium/engine.ease.coffee +++ b/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