summaryrefslogtreecommitdiffstats
path: root/src/components/File.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-12-23 11:39:32 +0100
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2019-12-23 10:41:52 +0000
commit7d14d30a74d4ab2e1d96bfd15dedabf46946cb05 (patch)
tree67fbfa47278167860302e0e16e62325ebcfd9168 /src/components/File.vue
parent6f808ea8ef4d30cab46bc2227e47132142f57176 (diff)
Use cropped preview to avoid pixelated images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'src/components/File.vue')
-rw-r--r--src/components/File.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/File.vue b/src/components/File.vue
index baf0ea66..3552b1e4 100644
--- a/src/components/File.vue
+++ b/src/components/File.vue
@@ -100,7 +100,7 @@ export default {
return this.mime.startsWith('image')
},
src() {
- return generateUrl(`/core/preview?fileId=${this.fileid}&x=${256}&y=${256}&a=true&v=${this.etag}`)
+ return generateUrl(`/core/preview?fileId=${this.fileid}&x=${256}&y=${256}&a=false&v=${this.etag}`)
},
},