diff options
author | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
commit | c1ec69879028220b0c3f11ad6e24035bf527802c (patch) | |
tree | 043bfe4ec9e08f4f598a4845ae5fbcddacc7c8fb /js/panels/Timeline/TimelineTrack.reel | |
parent | 3abba04025dbc0daadb08184833a2558c442b8e1 (diff) | |
parent | 266460e52831c5b3a3473be420756fd88bb8aced (diff) | |
download | ninja-c1ec69879028220b0c3f11ad6e24035bf527802c.tar.gz |
Merge pull request #264 from mencio/document-bindings-fix
Document bindings fix - Changing the documents architecture to use bindings instead of events
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index ff684446..126e6a61 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -564,7 +564,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
564 | this.nextKeyframe += 1; | 564 | this.nextKeyframe += 1; |
565 | } | 565 | } |
566 | 566 | ||
567 | this.application.ninja.documentController.activeDocument.model.needsSave = true; | 567 | this.application.ninja.currentDocument.model.needsSave = true; |
568 | } | 568 | } |
569 | }, | 569 | }, |
570 | 570 | ||
@@ -683,7 +683,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
683 | keyframeString += " }"; | 683 | keyframeString += " }"; |
684 | // set the keyframe string as the new rule | 684 | // set the keyframe string as the new rule |
685 | this.currentKeyframeRule = this.ninjaStylesContoller.addRule(keyframeString); | 685 | this.currentKeyframeRule = this.ninjaStylesContoller.addRule(keyframeString); |
686 | this.application.ninja.documentController.activeDocument.model.needsSave = true; | 686 | this.application.ninja.currentDocument.model.needsSave = true; |
687 | } | 687 | } |
688 | }, | 688 | }, |
689 | 689 | ||