editor: fix loss of resolution

pull/221/head
Varun Patil 2022-11-09 21:59:26 -08:00
parent 5519020c2a
commit 67e5c835ce
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -88,8 +88,8 @@ export default class ImageEditor extends Mixins(GlobalMixin) {
},
},
savingPixelRatio: 1,
previewPixelRatio: 1,
savingPixelRatio: 8,
previewPixelRatio: window.devicePixelRatio,
};
}