diff options
Diffstat (limited to 'js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js')
-rw-r--r-- | js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js index c4571e9d..5c674c27 100644 --- a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js +++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js | |||
@@ -244,7 +244,9 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, { | |||
244 | insertPropTween:{ | 244 | insertPropTween:{ |
245 | value:function(clickPos){ | 245 | value:function(clickPos){ |
246 | var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); | 246 | var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); |
247 | this.application.ninja.timeline.selectLayer(selectedIndex, true); | 247 | // this.application.ninja.timeline.selectLayer(selectedIndex, true); // Deprecated. |
248 | this.application.ninja.timeline.selectLayers([selectedIndex]); | ||
249 | this.application.ninja.timeline.updateStageSelection(); | ||
248 | 250 | ||
249 | var currentMillisecPerPixel = Math.floor(this.application.ninja.timeline.millisecondsOffset / 80); | 251 | var currentMillisecPerPixel = Math.floor(this.application.ninja.timeline.millisecondsOffset / 80); |
250 | var currentMillisec = currentMillisecPerPixel * clickPos; | 252 | var currentMillisec = currentMillisecPerPixel * clickPos; |