fix: aspect ratio distortion on image switch (v1.3.1)
Some checks failed
Build & Release / build-linux (push) Has been cancelled
Build & Release / build-windows (push) Has been cancelled
Build & Release / create-release (push) Has been cancelled

Downsample used ResizeImagePolicy.exact which forced a 2048×2048
square and stretched non-square images. Switch to ResizeImagePolicy.fit
to preserve aspect ratio while still capping both dimensions.
This commit is contained in:
Alhan
2026-08-14 22:17:48 +03:00
parent 72c35a8a26
commit 1002156cd4
5 changed files with 147 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
name: imajviewer
description: "Ultra-lightweight image viewer for Linux and Windows."
publish_to: 'none'
version: 1.3.0+5
version: 1.3.1+6
msix_config:
display_name: ImajViewer