diff options
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 76d52036..03e3b01e 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -890,10 +890,14 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, { | |||
890 | this._appendHelper = true; | 890 | this._appendHelper = true; |
891 | this._deleteHelper = false; | 891 | this._deleteHelper = false; |
892 | this.parentComponent.parentComponent.draggingTrackId = this.trackID; | 892 | this.parentComponent.parentComponent.draggingTrackId = this.trackID; |
893 | this.parentComponent.parentComponent.draggingType = "keyframe"; | ||
893 | } | 894 | } |
894 | }, | 895 | }, |
895 | handleKeyframeDragend : { | 896 | handleKeyframeDragend : { |
896 | value: function(event) { | 897 | value: function(event) { |
898 | if (this.parentComponent.parentComponent.draggingType !== "keyframe") { | ||
899 | return; | ||
900 | } | ||
897 | this._deleteHelper = true; | 901 | this._deleteHelper = true; |
898 | this.needsDraw = true; | 902 | this.needsDraw = true; |
899 | 903 | ||