Skip to content

Commit d4250cf

Browse files
committed
Post-merge fix
1 parent b2274ee commit d4250cf

File tree

1 file changed

+1
-2
lines changed
  • src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media

1 file changed

+1
-2
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Color.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ public struct Color : IFormattable, IEquatable<Color>
3333
///</summary>
3434
private static Color FromProfile(Uri profileUri)
3535
{
36-
Color color = new();
36+
Color color = new() { context = new ColorContext(profileUri) };
3737

38-
color.context = new ColorContext(profileUri);
3938
color.scRgbColor.a = 1.0f;
4039
color.scRgbColor.r = 0.0f;
4140
color.scRgbColor.g = 0.0f;

0 commit comments

Comments
 (0)