Skip to content

Commit

Permalink
make DrawingColor BlendColors color params in
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed Nov 4, 2024
1 parent acc679c commit 4b2fe8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project-Aurora/Project-Aurora/Utils/ColorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static DrawingColor GetAverageColor(BitmapSource bitmap)
return CommonColorUtils.FastColor((byte)(red / numPixels), (byte)(green / numPixels), (byte)(blue / numPixels));
}

public static DrawingColor BlendColors(in DrawingColor background, DrawingColor foreground, double percent)
public static DrawingColor BlendColors(in DrawingColor background, in DrawingColor foreground, double percent)
{
return CommonColorUtils.BlendColors(background, foreground, percent);
}
Expand Down

0 comments on commit 4b2fe8c

Please sign in to comment.