Fix min trhumbnail size

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-11-06 11:45:19 +01:00
parent 5682d302c7
commit 98edf3612c
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
3 changed files with 5 additions and 5 deletions

View file

@ -1953,10 +1953,10 @@
generatePreviewUrl: function(urlSpec) {
urlSpec = urlSpec || {};
if (!urlSpec.x) {
urlSpec.x = this.$table.data('preview-x') || 32;
urlSpec.x = this.$table.data('preview-x') || 250;
}
if (!urlSpec.y) {
urlSpec.y = this.$table.data('preview-y') || 32;
urlSpec.y = this.$table.data('preview-y') || 250;
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;

View file

@ -229,10 +229,10 @@ OCA.Sharing.PublicApp = {
this.fileList.generatePreviewUrl = function (urlSpec) {
urlSpec = urlSpec || {};
if (!urlSpec.x) {
urlSpec.x = this.$table.data('preview-x') || 32;
urlSpec.x = this.$table.data('preview-x') || 250;
}
if (!urlSpec.y) {
urlSpec.y = this.$table.data('preview-y') || 32;
urlSpec.y = this.$table.data('preview-y') || 250;
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;

View file

@ -13,7 +13,7 @@
<p></p>
</div>
<table id="filestable" data-preview-x="32" data-preview-y="32">
<table id="filestable" data-preview-x="250" data-preview-y="250">
<thead>
<tr>
<th id='headerName' class="hidden column-name">