mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 23:51:08 +00:00
doc: Update preview image.
This commit is contained in:
parent
edc6a5c17b
commit
1f3cf71c83
3 changed files with 9 additions and 9 deletions
|
@ -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 |
Loading…
Add table
Reference in a new issue