From 44b031132e69a60f317b0361c43d1998420d83ef Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 26 Nov 2023 22:43:25 +1000 Subject: [PATCH] Remove "new" --- src/ImageSharp/Formats/AnimationUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Formats/AnimationUtilities.cs b/src/ImageSharp/Formats/AnimationUtilities.cs index 486b4027a7..4e322d2a25 100644 --- a/src/ImageSharp/Formats/AnimationUtilities.cs +++ b/src/ImageSharp/Formats/AnimationUtilities.cs @@ -161,7 +161,7 @@ internal static class AnimationUtilities bounds.Y = Math.Max(0, bounds.Y - (bounds.Y & 1)); } - return new(hasDiff, bounds); + return (hasDiff, bounds); } public static void CopySource(ImageFrame source, ImageFrame destination, Rectangle bounds)