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({
|
.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({
|
||||||
|
|
Loading…
Reference in a new issue