From c0d85f3d85926c8790757bf142140d19455ae8ca Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:24:46 +0000 Subject: [PATCH] fix: image quality switch on previewer --- frontend/src/components/files/ExtendedImage.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/files/ExtendedImage.vue b/frontend/src/components/files/ExtendedImage.vue index 9bc88d80..117db4ff 100644 --- a/frontend/src/components/files/ExtendedImage.vue +++ b/frontend/src/components/files/ExtendedImage.vue @@ -88,6 +88,10 @@ export default { }, watch: { src: function () { + if (!this.decodeUTIF()) { + this.$refs.imgex.src = this.src; + } + this.scale = 1; this.setZoom(); this.setCenter();