From 75fb0d19e25d7cedaf88cf890a5422753ec262b9 Mon Sep 17 00:00:00 2001 From: OlegAba Date: Tue, 21 Feb 2023 22:00:31 -0500 Subject: [PATCH] Fix ImageCarousel corner radius and context menu --- damus/Components/ImageCarousel.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/damus/Components/ImageCarousel.swift b/damus/Components/ImageCarousel.swift index 19540663..09089c31 100644 --- 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 }