From 67e5c835cec2f47ca62ff5b35a92adc53d142480 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 9 Nov 2022 21:59:26 -0800 Subject: [PATCH] editor: fix loss of resolution --- CHANGELOG.md | 3 ++- src/components/ImageEditor.vue | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 678372fc..6b91bf93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ This file is manually updated. Please file an issue if something is missing. - **Feature**: Show EXIF metadata in sidebar ([#68](https://github.com/pulsejet/memories/issues/68)) - **Feature**: Show duration on video tiles - Fix stretched images in viewer ([#176](https://github.com/pulsejet/memories/issues/176)) -- Restore metadata after image edit ([#174](https://github.com/pulsejet/memories/issues/174)) +- Editor: Restore metadata after image edit ([#174](https://github.com/pulsejet/memories/issues/174)) +- Editor: Fix loss of resolution after edit ## v4.6.1, v3.6.1 (2022-11-07) diff --git a/src/components/ImageEditor.vue b/src/components/ImageEditor.vue index 9b4c6215..6c4c000e 100644 --- a/src/components/ImageEditor.vue +++ b/src/components/ImageEditor.vue @@ -88,8 +88,8 @@ export default class ImageEditor extends Mixins(GlobalMixin) { }, }, - savingPixelRatio: 1, - previewPixelRatio: 1, + savingPixelRatio: 8, + previewPixelRatio: window.devicePixelRatio, }; }