Fix LocationRoomTimelineView clipping (#1396)

This commit is contained in:
Alfonso Grillo
2023-07-25 16:04:48 +02:00
committed by GitHub
parent 7cf32ba37c
commit ec7670165c
2 changed files with 1 additions and 1 deletions
@@ -65,7 +65,6 @@ struct MapLibreStaticMapView<PinAnnotation: View>: View {
} }
} }
.id(fetchAttempt) .id(fetchAttempt)
.clipped()
} else { } else {
Image("mapBlurred") Image("mapBlurred")
} }
@@ -32,6 +32,7 @@ struct LocationRoomTimelineView: View {
} }
.frame(maxHeight: mapMaxHeight) .frame(maxHeight: mapMaxHeight)
.aspectRatio(mapAspectRatio, contentMode: .fit) .aspectRatio(mapAspectRatio, contentMode: .fit)
.clipped()
} }
.background(backgroundView) .background(backgroundView)
} else { } else {