From 19ab463ecaafa50fa4a5e7a493dc7d96908dffed Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 10 Aug 2013 14:29:32 +0000 Subject: [PATCH] floor -> ceil (avoid black gaps on large edit timeline) --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 8b952305..d68ac583 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1211,7 +1211,7 @@ pandora.getItemTitle = function(itemData) { pandora.getLargeClipTimelineURL = function(item, inPoint, outPoint, type, callback) { var fps = 25, - width = Math.floor((outPoint - inPoint) * fps), + width = Math.ceil((outPoint - inPoint) * fps), height = 64, canvas = Ox.$('').attr({width: width, height: height})[0], context = canvas.getContext('2d'),