Fixed an issue with unchanched leds beeing flagged as dirty

This commit is contained in:
DarthAffe committed 2018-12-25 18:54:50 +01:00
1 parent 0813b8eeab
commit 2a3c13ef87
1 file changed
+1 -1
+1 -1
View File
@@ -57,7 +57,7 @@ namespace RGB.NET.Core
/// <summary> /// <summary>
/// Indicates whether the <see cref="Led" /> is about to change it's color. /// Indicates whether the <see cref="Led" /> is about to change it's color.
/// </summary> /// </summary>
public bool IsDirty => RequestedColor.HasValue; public bool IsDirty => RequestedColor.HasValue && (RequestedColor != InternalColor);
private Color? _requestedColor; private Color? _requestedColor;
/// <summary> /// <summary>