1
0
Fork 0
forked from 0x2620/oxjs

remove annotations font size

This commit is contained in:
rolux 2014-02-18 06:34:08 +00:00
commit 978cc88618
6 changed files with 0 additions and 41 deletions

View file

@ -8,14 +8,12 @@ Ox.AnnotationPanel <f> Video Annotation Panel
calendarSize <n|256> calendar size
clickLink <f|null> click link callback
editable <b|false> if true, annotations can be edited
font <s|'small'> small, medium, large
highlight <s|''> highlight given string in annotations
layers <a|[]> array with annotation objects
mapSize <n|256> map size
range <s|'all'> all, position, selection
selected <s|''> selected annotation
showCalendar <b|false> if true, calendar is shown
showFonts <b|false> if true, option to select font size is show
showLayers <o|{}> object with layers to show
showMap <b|false> if true, show map
showUsers <b|false> if true show user
@ -49,7 +47,6 @@ Ox.AnnotationPanel = function(options, self) {
calendarSize: 256,
clickLink: null,
editable: false,
font: 'small',
highlight: '',
itemName: {singular: 'video', plural: 'videos'},
layers: [],
@ -57,7 +54,6 @@ Ox.AnnotationPanel = function(options, self) {
range: 'all',
selected: '',
showCalendar: false,
showFonts: false,
showLayers: {},
showMap: false,
showUsers: false,
@ -311,7 +307,6 @@ Ox.AnnotationPanel = function(options, self) {
clickLink: self.options.clickLink,
collapsed: !self.options.showLayers[layer.id],
editable: self.options.editable,
font: self.options.font,
highlight: self.options.highlight,
'in': self.options['in'],
keyboard: index + 1 + '',
@ -424,15 +419,6 @@ Ox.AnnotationPanel = function(options, self) {
{id: 'text', title: Ox._('By Text'), checked: self.options.sort == 'text'}
]}
],
self.options.showFonts ? [
{},
{id: 'fontsize', title: Ox._('Font Size'), disabled: true},
{group: 'font', min: 1, max: 1, items: [
{id: 'small', title: Ox._('Small'), checked: self.options.font == 'small'},
{id: 'medium', title: Ox._('Medium'), checked: self.options.font == 'medium'},
{id: 'large', title: Ox._('Large'), checked: self.options.font == 'large'}
]}
] : [],
self.options.showUsers && self.users.length ? [
{},
{id: 'users', title: Ox._('Show Users'), disabled: true},