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:
parent
3f9e8fab8e
commit
bb70cb3266
4 changed files with 4 additions and 2 deletions
Sources/CropImage
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||

|
||||
|
||||
## Topics
|
||||
|
||||
### Views
|
||||
|
|
BIN
Sources/CropImage/Documentation.docc/Resources/macos.png
Normal file
BIN
Sources/CropImage/Documentation.docc/Resources/macos.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 108 KiB |
BIN
Sources/CropImage/Documentation.docc/Resources/macos~dark.png
Normal file
BIN
Sources/CropImage/Documentation.docc/Resources/macos~dark.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 113 KiB |
Loading…
Add table
Reference in a new issue