fix large edit timeline width

This commit is contained in:
rolux 2013-07-14 12:28:16 +00:00
parent e12ea159e3
commit ebf508914f

View file

@ -934,7 +934,7 @@ pandora.getLargeClipTimelineURL = function(item, inPoint, outPoint, type, callba
pandora.getLargeEditTimelineURL = function(edit, type, i, callback) { pandora.getLargeEditTimelineURL = function(edit, type, i, callback) {
var clips = [], var clips = [],
timelineIn = i * 60, timelineIn = i * 60,
timelineOut = Math.min((i + 1) * 60, Math.floor(edit.duration)), timelineOut = Math.min((i + 1) * 60, edit.duration),
fps = 25, fps = 25,
width = (timelineOut - timelineIn) * fps, width = (timelineOut - timelineIn) * fps,
height = 64, height = 64,