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

This commit is contained in:
DarthAffe committed 2023-05-08 22:07:49 +02:00
1 parent 73b7f1f24f
commit a196d2a0a4
1 file changed
+2
@@ -32,6 +32,8 @@ public sealed class SolidColorBrush : AbstractBrush
public SolidColorBrush(Color color) public SolidColorBrush(Color color)
{ {
this.Color = color; this.Color = color;
CalculationMode = RenderMode.Absolute;
} }
#endregion #endregion