Wholphin/app/src
Ray 62965c1b22
Fix slideshow images not resizing properly (#1089)
## Description
During a slideshow of images, the viewpoint would resize to largest
image resolution and images with smaller dimensions would be scaled down
and centered with black bars.

This might be a Coil bug, but I'm not 100% sure yet. This PR works
around the issue by scaling all images to the display resolution instead
of using `Size.ORIGINAL`.

However, we want `Size.ORIGINAL` while zooming so it doesn't pixelate if
the original image's resolution is larger than the display's.

### Related issues
Fixes
https://github.com/damontecres/Wholphin/issues/835#issuecomment-4035005433

### Testing
Emulator with 1920x1080 & 800x1600 images

## Screenshots
N/A

## AI or LLM usage
None
2026-03-12 14:39:26 -04:00
..
androidTest/java/com/github/damontecres/wholphin/test Dev: add simple automated UI test setup (#1027) 2026-03-03 13:46:46 -05:00
debug Dev: add simple automated UI test setup (#1027) 2026-03-03 13:46:46 -05:00
main Fix slideshow images not resizing properly (#1089) 2026-03-12 14:39:26 -04:00
patches Dev: add CI to build app store releases (#468) 2026-02-23 22:04:08 -05:00
test Better logic for choosing the display mode (#1039) 2026-03-04 19:30:14 -05:00