Skip to content

Commit 7f4b457

Browse files
Default loop count should be 1
1 parent a486558 commit 7f4b457

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageSharp/Formats/Png/PngMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private PngMetadata(PngMetadata other)
8181
/// <summary>
8282
/// Gets or sets the number of times to loop this APNG. 0 indicates infinite looping.
8383
/// </summary>
84-
public uint RepeatCount { get; set; }
84+
public uint RepeatCount { get; set; } = 1;
8585

8686
/// <inheritdoc/>
8787
public IDeepCloneable DeepClone() => new PngMetadata(this);

0 commit comments

Comments
 (0)