commit 75fb0d19e25d7cedaf88cf890a5422753ec262b9
parent a2749eaaaa0d6cda28841090a4880e4b27557032
Author: OlegAba <mail@olegaba.com>
Date: Tue, 21 Feb 2023 22:00:31 -0500
Fix ImageCarousel corner radius and context menu
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift
@@ -205,6 +205,7 @@ struct ImageCarousel: View {
view.framePreloadCount = 3
}
.aspectRatio(contentMode: .fit)
+ .cornerRadius(10)
.tabItem {
Text(url.absoluteString)
}
@@ -217,11 +218,11 @@ struct ImageCarousel: View {
}
}
}
- .cornerRadius(10)
.fullScreenCover(isPresented: $open_sheet) {
ImageView(urls: urls)
}
.frame(height: 200)
+ .clipped()
.onTapGesture {
open_sheet = true
}