mirror of
https://github.com/laosb/CropImage.git
synced 2025-05-25 10:31:08 +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
|
@ -34,7 +34,7 @@ public struct DefaultControlsView: View {
|
||||||
.padding(.vertical, 3)
|
.padding(.vertical, 3)
|
||||||
.background(
|
.background(
|
||||||
RoundedRectangle(cornerRadius: 5, style: .continuous)
|
RoundedRectangle(cornerRadius: 5, style: .continuous)
|
||||||
.fill(.white)
|
.fill(.background)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
@ -59,7 +59,7 @@ public struct DefaultControlsView: View {
|
||||||
.labelStyle(.iconOnly)
|
.labelStyle(.iconOnly)
|
||||||
.padding(1)
|
.padding(1)
|
||||||
.background(
|
.background(
|
||||||
Circle().fill(.white)
|
Circle().fill(.background)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.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
|
- Use `ImageRenderer` to render the cropped image, when possible
|
||||||
- Very lightweight
|
- Very lightweight
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Topics
|
## Topics
|
||||||
|
|
||||||
### Views
|
### 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 Width: | Height: | 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 Width: | Height: | Size: 113 KiB |
Loading…
Add table
Reference in a new issue