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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,6 @@ struct MapLibreStaticMapView<PinAnnotation: View>: View {
}
}
.id(fetchAttempt)
.clipped()
} else {
Image("mapBlurred")
}

View File

@ -32,6 +32,7 @@ struct LocationRoomTimelineView: View {
}
.frame(maxHeight: mapMaxHeight)
.aspectRatio(mapAspectRatio, contentMode: .fit)
.clipped()
}
.background(backgroundView)
} else {