annotations size

This commit is contained in:
j 2014-01-22 18:42:28 +00:00
parent d5eaed5a63
commit 3f4e8764f6
2 changed files with 6 additions and 4 deletions

View file

@ -9,7 +9,6 @@ Ox.ClipPanel = function(options, self) {
annotationsFont: 'small',
annotationsMapSize: 256,
annotationsRange: 'all',
annotationsSize: 256,
annotationsSort: 'position',
clips: [],
clickLink: null,
@ -239,9 +238,14 @@ Ox.ClipPanel = function(options, self) {
showMap: self.options.showAnnotationsMap,
showUsers: self.options.showUsers,
sort: self.options.annotationsSort,
width: self.options.annotationsSize
width: self.options.width
});
$list.size = function() {
$list.options({
width: self.options.width
});
};
return $list;
} else if (self.options.view == 'list') {
$list = Ox.TableList({

View file

@ -9,7 +9,6 @@ Ox.VideoEditPanel = function(options, self) {
annotationsFont: 'small',
annotationsMapSize: 256,
annotationsRange: 'all',
annotationsSize: 256,
annotationsSort: 'position',
clips: [],
clipSize: 256,
@ -298,7 +297,6 @@ Ox.VideoEditPanel = function(options, self) {
annotationsFont: self.options.annotationsFont,
annotationsMapSize: self.options.annotationsMapSize,
annotationsRange: self.options.annotationsRange,
annotationsSize: self.options.annotationsSize,
annotationsSort: self.options.annotationsSort,
clips: Ox.clone(self.options.clips),
clickLink: self.options.clickLink,