1
0
Fork 0
mirror of https://github.com/laosb/CropImage.git synced 2025-05-25 02:31:07 +00:00

doc: Add preview image on doc.

This commit is contained in:
Shibo Lyu 2023-08-10 16:06:10 +08:00
parent 3f9e8fab8e
commit bb70cb3266
4 changed files with 4 additions and 2 deletions
Sources/CropImage

View file

@ -34,7 +34,7 @@ public struct DefaultControlsView: View {
.padding(.vertical, 3)
.background(
RoundedRectangle(cornerRadius: 5, style: .continuous)
.fill(.white)
.fill(.background)
)
}
.buttonStyle(.plain)
@ -59,7 +59,7 @@ public struct DefaultControlsView: View {
.labelStyle(.iconOnly)
.padding(1)
.background(
Circle().fill(.white)
Circle().fill(.background)
)
}
.buttonStyle(.plain)

View file

@ -10,6 +10,8 @@ Supports iOS 14.0 and above, or macOS Ventura 13.0 and above.
- Use `ImageRenderer` to render the cropped image, when possible
- Very lightweight
![Preview on macOS](macos)
## Topics
### Views

Binary file not shown.

After

(image error) Size: 108 KiB

Binary file not shown.

After

(image error) Size: 113 KiB