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

@ -106,7 +106,9 @@ Ox.AnnotationFolder = function(options, self) {
self.$widget.options({width: self.options.width});
}
self.$annotations.options({
width: self.options.type == 'text' ? self.options.width + 8 : self.options.width
width: self.options.type == 'text'
? self.options.width + 8
: self.options.width
});
}
});
@ -646,6 +648,10 @@ Ox.AnnotationFolder = function(options, self) {
return that;
};
that.getCurrentAnnotations = function() {
return getAnnotations();
};
/*@
removeItem <f> remove item
() -> <o> remove selected item