diff --git a/Sources/MarkdownText/UI/Images/PinchZoomView.swift b/Sources/MarkdownText/UI/Images/PinchZoomView.swift index 01c232e1..ae3a5341 100644 --- a/Sources/MarkdownText/UI/Images/PinchZoomView.swift +++ b/Sources/MarkdownText/UI/Images/PinchZoomView.swift @@ -38,7 +38,7 @@ struct PinchZoomView: View { GeometryReader { geometry in image .resizable() - .aspectRatio(contentMode: .fit) + .scaledToFit() .scaleEffect(scale * activeScale) .offset(offset) .background(