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({ .bindEvent({
click: function(data) { click: function(data) {
pandora.UI.set( pandora.UI.set(
'videoPoints.' + id, 'videoPoints.' + id + '.position',
{'in': 0, out: 0, position: data.position} data.position
); );
if (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) { if (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) {
pandora.$ui[ui.itemView].options({ pandora.$ui[ui.itemView].options({