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:
parent
73b7f1f24f
commit
a196d2a0a4
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user