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

View file

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

View file

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

View file

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

View file

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