Changed color to be an immutable value-type

This commit is contained in:
DarthAffe committed 2017-12-04 10:13:58 +01:00
1 parent b9e443b3b6
commit 50cfd296be
16 files changed
+1014 -410

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ namespace RGB.NET.Decorators.Brush
#region Methods
/// <inheritdoc />
public void ManipulateColor(Rectangle rectangle, BrushRenderTarget renderTarget, ref Color color) => color.APercent = _currentValue;
public Color ManipulateColor(Rectangle rectangle, BrushRenderTarget renderTarget, Color color) => color.SetAPercent(_currentValue);
/// <inheritdoc />
protected override void Update(double deltaTime)