use ui.clipSize

This commit is contained in:
j 2017-04-17 19:31:53 +02:00
parent 4445b33718
commit cb3c18e26b
5 changed files with 5 additions and 5 deletions

View File

@ -1201,6 +1201,7 @@
"calendarFind": "",
"calendarSelection": "",
"clipColumns": 2,
"clipSize": 416,
"collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"],
"collectionColumnWidth": {},
"collectionSelection": [],
@ -1226,7 +1227,6 @@
"edit": "",
"edits": {},
"editSelection": [],
"editSidebarSize": 416,
"editSort": [
{"key": "index", "operator": "+"},
{"key": "year", "operator": "+"},

View File

@ -1673,6 +1673,7 @@
"calendarFind": "",
"calendarSelection": "",
"clipColumns": 2,
"clipSize": 416,
"collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"],
"collectionColumnWidth": {},
"collectionSelection": [],
@ -1697,7 +1698,6 @@
"edit": "",
"edits": {},
"editSelection": [],
"editSidebarSize": 416,
"editSort": [
{"key": "index", "operator": "+"},
{"key": "year", "operator": "+"},

View File

@ -1152,6 +1152,7 @@
"calendarFind": "",
"calendarSelection": "",
"clipColumns": 2,
"clipSize": 416,
"collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"],
"collectionColumnWidth": {},
"collectionSelection": [],
@ -1177,7 +1178,6 @@
"edit": "",
"edits": {},
"editSelection": [],
"editSidebarSize": 416,
"editSort": [
{"key": "index", "operator": "+"},
{"key": "director", "operator": "+"},

View File

@ -1092,6 +1092,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"calendarFind": "",
"calendarSelection": "",
"clipColumns": 2,
"clipSize": 416,
"collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"],
"collectionColumnWidth": {},
"collectionSelection": [],
@ -1117,7 +1118,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"edit": "",
"edits": {},
"editSelection": [],
"editSidebarSize": 416,
"editSort": [
{"key": "index", "operator": "+"},
{"key": "year", "operator": "+"},

View File

@ -81,7 +81,7 @@ pandora.ui.editPanel = function(isEmbed) {
clickLink: pandora.clickLink,
clipRatio: pandora.site.video.previewRatio,
clips: Ox.clone(edit.clips),
clipSize: ui.editSidebarSize + Ox.UI.SCROLLBAR_SIZE,
clipSize: ui.clipSize + Ox.UI.SCROLLBAR_SIZE,
clipTooltip: 'clips <span class="OxBright">' + Ox.SYMBOLS.shift + 'C</span>',
clipView: ui.edits[ui.edit].view,
controlsTooltips: {