Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/Structures/Color.cs')
-rw-r--r--UVtools.WPF/Structures/Color.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.WPF/Structures/Color.cs b/UVtools.WPF/Structures/Color.cs
index f347d2e..9370653 100644
--- a/UVtools.WPF/Structures/Color.cs
+++ b/UVtools.WPF/Structures/Color.cs
@@ -62,7 +62,7 @@ namespace UVtools.WPF.Structures
return new Color(a, r, g, b);
}
- public static Color Empty => new Color(0,0,0,0);
+ public static Color Empty => new(0,0,0,0);
public Color FactorColor(byte pixelColor, byte min = 0, byte max = byte.MaxValue) =>
FactorColor(pixelColor / 255f, min, max);