forked from 0x2620/pandora
in info video preview, only set position on click, don't reset in/out
This commit is contained in:
parent
f3cf407d0b
commit
3ed52b2939
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ pandora.ui.info = function() {
|
|||
.bindEvent({
|
||||
click: function(data) {
|
||||
pandora.UI.set(
|
||||
'videoPoints.' + id,
|
||||
{'in': 0, out: 0, position: data.position}
|
||||
'videoPoints.' + id + '.position',
|
||||
data.position
|
||||
);
|
||||
if (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) {
|
||||
pandora.$ui[ui.itemView].options({
|
||||
|
|
Loading…
Reference in a new issue