commit a6a9d4ed7721ad203398ae66a84ed6391e607c78
parent e3db9954f17e70d9bc1a49c718da4fe6bada6a7a
Author: William Casarin <jb55@jb55.com>
Date: Tue, 27 Dec 2022 14:39:35 -0800
images: don't cutoff gifs
Changelog-Fixed: Don't cutoff gifs
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift
@@ -131,7 +131,7 @@ struct ImageCarousel: View {
.loadDiskFileSynchronously()
.scaleFactor(UIScreen.main.scale)
.fade(duration: 0.1)
- .aspectRatio(contentMode: .fill)
+ .aspectRatio(contentMode: .fit)
.tabItem {
Text(url.absoluteString)
}