diff options
author | Jon Reid | 2012-06-15 14:31:48 -0700 |
---|---|---|
committer | Jon Reid | 2012-06-15 14:31:48 -0700 |
commit | 92cca9bf067d048c57aaab85479d36cb902c96c2 (patch) | |
tree | a42bc004bb0b3393c3c2234dd8f1f70959046a6f /js/panels/Timeline/Span.reel | |
parent | 0639b36bd4dc9c4c7659b87c05a22a08a4c49221 (diff) | |
download | ninja-92cca9bf067d048c57aaab85479d36cb902c96c2.tar.gz |
Timeline: Bug fix: Correctly maintain expand/collapse state of layers and
subproperties across document switching.
Diffstat (limited to 'js/panels/Timeline/Span.reel')
-rw-r--r-- | js/panels/Timeline/Span.reel/Span.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/Span.reel/Span.js b/js/panels/Timeline/Span.reel/Span.js index 5b0f3f94..59cd13ed 100644 --- a/js/panels/Timeline/Span.reel/Span.js +++ b/js/panels/Timeline/Span.reel/Span.js | |||
@@ -67,6 +67,9 @@ var Span = exports.Span = Montage.create(Component, { | |||
67 | }, | 67 | }, |
68 | set: function(newVal) { | 68 | set: function(newVal) { |
69 | if (newVal !== this._easing) { | 69 | if (newVal !== this._easing) { |
70 | if (typeof(newVal) === "undefined") { | ||
71 | newVal = "ease-in"; | ||
72 | } | ||
70 | this._easing = newVal; | 73 | this._easing = newVal; |
71 | this.parentComponent.setKeyframeEase(newVal); | 74 | this.parentComponent.setKeyframeEase(newVal); |
72 | this.needsDraw = true; | 75 | this.needsDraw = true; |