1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Changed the calculation mode of the SolidColor-brush to absolute for performance reasons

This commit is contained in:
Darth Affe 2023-05-08 22:07:49 +02:00
parent 73b7f1f24f
commit a196d2a0a4

View File

@ -32,6 +32,8 @@ public sealed class SolidColorBrush : AbstractBrush
public SolidColorBrush(Color color)
{
this.Color = color;
CalculationMode = RenderMode.Absolute;
}
#endregion