make doubleclicking on non-editable annotation 'open' it, i.e. go to its in point
This commit is contained in:
parent
94cfbdb45c
commit
529184887a
6 changed files with 21 additions and 2 deletions
|
|
@ -233,6 +233,9 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
insert: function(data) {
|
||||
that.triggerEvent('insert', data);
|
||||
},
|
||||
open: function() {
|
||||
that.triggerEvent('open');
|
||||
},
|
||||
select: selectAnnotation,
|
||||
selectafter: function() {
|
||||
that.triggerEvent('selectafter');
|
||||
|
|
|
|||
|
|
@ -88,6 +88,9 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
that.triggerEvent('info', {layer: layer.id});
|
||||
},
|
||||
insert: insert,
|
||||
open: function() {
|
||||
that.triggerEvent('open');
|
||||
},
|
||||
remove: function(data) {
|
||||
that.triggerEvent('remove', Ox.extend({layer: layer.id}, data));
|
||||
},
|
||||
|
|
|
|||
|
|
@ -648,6 +648,9 @@ Ox.VideoEditor = function(options, self) {
|
|||
info: function(data) {
|
||||
that.triggerEvent('info', data);
|
||||
},
|
||||
open: function() {
|
||||
setPosition(self.options['in']);
|
||||
},
|
||||
remove: removeAnnotation,
|
||||
resize: resizeAnnotations,
|
||||
resizeend: resizeendAnnotations,
|
||||
|
|
|
|||
|
|
@ -209,6 +209,9 @@ Ox.VideoPanel = function(options, self) {
|
|||
self.options.annotationsSort = data.sort;
|
||||
that.triggerEvent('annotationssort', data);
|
||||
},
|
||||
open: function() {
|
||||
setPosition(self.options['in']);
|
||||
},
|
||||
resize: resizeAnnotations,
|
||||
resizeend: resizeendAnnotations,
|
||||
resizecalendar: function(data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue