Browse Source

Update Color.Equals

pull/1801/head
James Jackson-South 5 years ago
parent
commit
425600459e
  1. 2
      src/ImageSharp/Color/Color.cs

2
src/ImageSharp/Color/Color.cs

@ -277,7 +277,7 @@ namespace SixLabors.ImageSharp
return this.data.PackedValue == other.data.PackedValue; return this.data.PackedValue == other.data.PackedValue;
} }
return this.ToVector4().Equals(other.ToVector4()); return this.boxedHighPrecisionPixel?.Equals(other.boxedHighPrecisionPixel) == true;
} }
/// <inheritdoc /> /// <inheritdoc />

Loading…
Cancel
Save