Skip to content

Commit

Permalink
doc: Update preview image.
Browse files Browse the repository at this point in the history
  • Loading branch information
laosb committed Aug 10, 2023
1 parent edc6a5c commit 1f3cf71
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Sources/CropImage/CropImageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -165,7 +165,7 @@ public struct CropImageView<Controls: View>: View {
onCrop(.failure(error))
}
}
}
} )
}
}

Expand Down
Binary file modified Sources/CropImage/Documentation.docc/Resources/macos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Sources/CropImage/Documentation.docc/Resources/macos~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f3cf71

Please sign in to comment.