forked from 0x2620/pandora
update pandora.getItemIdAndPosition
This commit is contained in:
parent
ef9f23226f
commit
671ef01245
1 changed files with 27 additions and 21 deletions
|
@ -1245,6 +1245,7 @@ pandora.getItemIdAndPosition = function() {
|
|||
position: ui.videoPoints[itemId] ? ui.videoPoints[itemId].position : 0
|
||||
};
|
||||
}
|
||||
if (ui.section == 'items') {
|
||||
if (!ui.item) {
|
||||
if (
|
||||
ui.listView == 'timelines'
|
||||
|
@ -1269,6 +1270,11 @@ pandora.getItemIdAndPosition = function() {
|
|||
ret = getIdAndPositionByClipId(selected[0]);
|
||||
}
|
||||
}
|
||||
} else if (ui.section == 'edits') {
|
||||
if (ui.edit) {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue