in info video preview, only set position on click, don't reset in/out

This commit is contained in:
rolux 2014-02-18 07:54:38 +00:00
parent f3cf407d0b
commit 3ed52b2939

View file

@ -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({