We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2274ee commit d4250cfCopy full SHA for d4250cf
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Color.cs
@@ -33,9 +33,8 @@ public struct Color : IFormattable, IEquatable<Color>
33
///</summary>
34
private static Color FromProfile(Uri profileUri)
35
{
36
- Color color = new();
+ Color color = new() { context = new ColorContext(profileUri) };
37
38
- color.context = new ColorContext(profileUri);
39
color.scRgbColor.a = 1.0f;
40
color.scRgbColor.r = 0.0f;
41
color.scRgbColor.g = 0.0f;
0 commit comments