make sure doubleclicking on timeline doesn't turn non-editable annotations into editing state
This commit is contained in:
parent
696741190a
commit
61402492c6
1 changed files with 5 additions and 1 deletions
|
@ -334,7 +334,11 @@ Ox.VideoEditor = function(options, self) {
|
||||||
top: self.sizes.timeline[1].top + 'px',
|
top: self.sizes.timeline[1].top + 'px',
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
edit: editAnnotation,
|
edit: function() {
|
||||||
|
if (isEditable() && !self.editing) {
|
||||||
|
editAnnotation();
|
||||||
|
}
|
||||||
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
setPosition(data.position);
|
setPosition(data.position);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue