aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
diff options
context:
space:
mode:
authorJonathan Duran2012-05-11 02:34:26 -0700
committerJonathan Duran2012-05-11 02:34:26 -0700
commit32257ac142f872d3c1f6c07504bae77ae884ed93 (patch)
tree46e8df48535e7b2feaffde7dfd9a17fdca2f5dcc /js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
parent675dfa5057e118dac694b8fb9b960cfed48e1d52 (diff)
downloadninja-32257ac142f872d3c1f6c07504bae77ae884ed93.tar.gz
Fix a bug in span splitting interaction and remove console logs
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js')
-rw-r--r--js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
index 53b7bd5e..690c912b 100644
--- a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
+++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
@@ -154,7 +154,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
154 handleClick:{ 154 handleClick:{
155 value:function(ev){ 155 value:function(ev){
156 if (ev.shiftKey) { 156 if (ev.shiftKey) {
157 console.log(this.trackType); 157
158 if (this.propTweens.length < 1) { 158 if (this.propTweens.length < 1) {
159 159
160 // check if there is an editor property assigned yet 160 // check if there is an editor property assigned yet
@@ -170,8 +170,8 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
170 console.log("Property track editorProperty set to: " + this.trackEditorProperty); 170 console.log("Property track editorProperty set to: " + this.trackEditorProperty);
171 } 171 }
172 } else if (this.trackType === "position") { 172 } else if (this.trackType === "position") {
173 console.log("clicking on position track"); 173 //console.log("clicking on position track");
174 console.log(this.trackEditorProperty); 174 //console.log(this.trackEditorProperty);
175 } 175 }
176 176
177 this.insertPropTween(0); 177 this.insertPropTween(0);
@@ -239,7 +239,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
239 value:function(tweenEvent){ 239 value:function(tweenEvent){
240 this.insertPropTween(tweenEvent.offsetX); 240 this.insertPropTween(tweenEvent.offsetX);
241 this.animationName = this.parentComponent.parentComponent.parentComponent.animationName; 241 this.animationName = this.parentComponent.parentComponent.parentComponent.animationName;
242 console.log(this.animationName); 242 //console.log(this.animationName);
243 } 243 }
244 } 244 }
245}); 245});