doc: Update preview image.

This commit is contained in:
Shibo Lyu 2023-08-10 17:28:13 +08:00
parent edc6a5c17b
commit 1f3cf71c83
3 changed files with 9 additions and 9 deletions

View file

@ -145,14 +145,14 @@ public struct CropImageView<Controls: View>: View {
}
public var body: some View {
ZStack {
UnderlyingImageView(
offset: $offset,
scale: $scale,
rotation: $rotation,
image: image,
initialImageSize: initialImageSize
)
UnderlyingImageView(
offset: $offset,
scale: $scale,
rotation: $rotation,
image: image,
initialImageSize: initialImageSize
)
.overlay( ZStack {
RectHoleShape(size: targetSize)
.fill(style: FillStyle(eoFill: true))
.foregroundColor(.black.opacity(0.6))
@ -165,7 +165,7 @@ public struct CropImageView<Controls: View>: View {
onCrop(.failure(error))
}
}
}
} )
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 114 KiB