forked from 0x2620/pandora
floor -> ceil (avoid black gaps on large edit timeline)
This commit is contained in:
parent
c4f3666601
commit
19ab463eca
1 changed files with 1 additions and 1 deletions
|
@ -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.$('<canvas>').attr({width: width, height: height})[0],
|
||||
context = canvas.getContext('2d'),
|
||||
|
|
Loading…
Reference in a new issue