forked from 0x2620/pandora
no need to pass exact frame to getSequence
This commit is contained in:
parent
f9df691c24
commit
bc7e7c4f88
1 changed files with 2 additions and 2 deletions
|
@ -634,10 +634,10 @@ pandora.getItemFind = function(find) {
|
|||
pandora.getItemIdAndPosition = function() {
|
||||
var selected, ret, ui = pandora.user.ui;
|
||||
function getIdAndPositionByClipId(clipId) {
|
||||
var fps = 25, split = clipId.replace('-', '/').split('/');
|
||||
var split = clipId.replace('-', '/').split('/');
|
||||
return {
|
||||
id: split[0],
|
||||
position: Math.ceil(parseFloat(split[1]) * fps) / fps
|
||||
position: parseFloat(split[1])
|
||||
};
|
||||
}
|
||||
function getIdAndPositionByItemId(itemId) {
|
||||
|
|
Loading…
Reference in a new issue