From ec15c5ed111f8d2608941c2ce86fb4b6f68117a0 Mon Sep 17 00:00:00 2001 From: Kruti Shah Date: Thu, 12 Jul 2012 14:21:31 -0700 Subject: Zooming the tweens Signed-off-by: Kruti Shah --- js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js') diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 93b4d67e..88b37563 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js @@ -509,6 +509,10 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { }, set:function (newVal) { if (newVal !== this._millisecondsOffset) { + + var tempValue = (1/newVal) * 1000000; + newVal = tempValue; + this._millisecondsOffset= newVal; this.drawTimeMarkers(); NJevent('tlZoomSlider',this); -- cgit v1.2.3