mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Changed the calculation mode of the SolidColor-brush to absolute for performance reasons
This commit is contained in:
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
|
||||||
|
|||||||
Reference in new issue
Block a user