From ec7670165ca8473199f03d4c5e9db8fd504e9ccb Mon Sep 17 00:00:00 2001 From: Alfonso Grillo Date: Tue, 25 Jul 2023 16:04:48 +0200 Subject: [PATCH] Fix LocationRoomTimelineView clipping (#1396) --- ElementX/Sources/Other/MapLibre/MapLibreStaticMapView.swift | 1 - .../RoomScreen/View/Timeline/LocationRoomTimelineView.swift | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Other/MapLibre/MapLibreStaticMapView.swift b/ElementX/Sources/Other/MapLibre/MapLibreStaticMapView.swift index d67c86767..9a8f98d00 100644 --- a/ElementX/Sources/Other/MapLibre/MapLibreStaticMapView.swift +++ b/ElementX/Sources/Other/MapLibre/MapLibreStaticMapView.swift @@ -65,7 +65,6 @@ struct MapLibreStaticMapView: View { } } .id(fetchAttempt) - .clipped() } else { Image("mapBlurred") } diff --git a/ElementX/Sources/Screens/RoomScreen/View/Timeline/LocationRoomTimelineView.swift b/ElementX/Sources/Screens/RoomScreen/View/Timeline/LocationRoomTimelineView.swift index 574a29873..360d91a47 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/Timeline/LocationRoomTimelineView.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/Timeline/LocationRoomTimelineView.swift @@ -32,6 +32,7 @@ struct LocationRoomTimelineView: View { } .frame(maxHeight: mapMaxHeight) .aspectRatio(mapAspectRatio, contentMode: .fit) + .clipped() } .background(backgroundView) } else {