1
0
Fork 0
forked from 0x2620/oxjs

allow for retrieving currently shown annotations from video annotation panel

This commit is contained in:
rlx 2014-09-18 16:43:00 +02:00
commit f1120a825b
3 changed files with 23 additions and 2 deletions

View file

@ -1632,6 +1632,10 @@ Ox.VideoAnnotationPanel = function(options, self) {
self.$annotationPanel.addItem(layer, annotation);
};
that.getCurrentAnnotations = function() {
return self.$annotationPanel.getCurrentAnnotations();
};
/*@
updateAnnotation <f> updateAnnotation
(id, annotation) -> <o> update annotation with id