Browse Source

Default loop count should be 1

pull/2588/head
James Jackson-South 3 years ago
parent
commit
7f4b457521
  1. 2
      src/ImageSharp/Formats/Png/PngMetadata.cs

2
src/ImageSharp/Formats/Png/PngMetadata.cs

@ -81,7 +81,7 @@ public class PngMetadata : IDeepCloneable
/// <summary> /// <summary>
/// Gets or sets the number of times to loop this APNG. 0 indicates infinite looping. /// Gets or sets the number of times to loop this APNG. 0 indicates infinite looping.
/// </summary> /// </summary>
public uint RepeatCount { get; set; } public uint RepeatCount { get; set; } = 1;
/// <inheritdoc/> /// <inheritdoc/>
public IDeepCloneable DeepClone() => new PngMetadata(this); public IDeepCloneable DeepClone() => new PngMetadata(this);

Loading…
Cancel
Save