Skip to content

Commit dc9687b

Browse files
committed
refactor: 增加比率参数示例
1 parent 4353628 commit dc9687b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor.Server/Components/Samples/ImageCroppers.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public partial class ImageCroppers
2222

2323
private string? _base64String2;
2424

25-
private readonly ImageCropperOption _roundOptions = new() { IsRound = true, Radius = "50%" };
25+
private readonly ImageCropperOption _roundOptions = new() { IsRound = true, Radius = "50%", AspectRatio = 3/4f };
2626

2727
/// <summary>
2828
/// <inheritdoc/>

0 commit comments

Comments
 (0)