diff options
Diffstat (limited to 'js/panels/Timeline/Keyframe.reel')
-rw-r--r-- | js/panels/Timeline/Keyframe.reel/Keyframe.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/panels/Timeline/Keyframe.reel/Keyframe.js b/js/panels/Timeline/Keyframe.reel/Keyframe.js index b6623dcd..c46ae8c9 100644 --- a/js/panels/Timeline/Keyframe.reel/Keyframe.js +++ b/js/panels/Timeline/Keyframe.reel/Keyframe.js | |||
@@ -133,6 +133,10 @@ var Keyframe = exports.Keyframe = Montage.create(Component, { | |||
133 | this.application.ninja.timeline.playheadmarker.style.left = this.timelinePosition + "px"; | 133 | this.application.ninja.timeline.playheadmarker.style.left = this.timelinePosition + "px"; |
134 | this.application.ninja.timeline.selectedKeyframes.push(this); | 134 | this.application.ninja.timeline.selectedKeyframes.push(this); |
135 | 135 | ||
136 | var currentMillisecPerPixel = Math.floor(this.application.ninja.timeline.millisecondsOffset / 80); | ||
137 | var currentMillisec = currentMillisecPerPixel * this.timelinePosition; | ||
138 | this.application.ninja.timeline.updateTimeText(currentMillisec); | ||
139 | |||
136 | var currentTop = this.animatedProperties["top"] + "px"; | 140 | var currentTop = this.animatedProperties["top"] + "px"; |
137 | var currentLeft = this.animatedProperties["left"] + "px"; | 141 | var currentLeft = this.animatedProperties["left"] + "px"; |
138 | 142 | ||