1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 01:58:30 +00:00

Fixed an issue with unchanched leds beeing flagged as dirty

This commit is contained in:
Darth Affe 2018-12-25 18:54:50 +01:00
parent 0813b8eeab
commit 2a3c13ef87

View File

@ -57,7 +57,7 @@ namespace RGB.NET.Core
/// <summary>
/// Indicates whether the <see cref="Led" /> is about to change it's color.
/// </summary>
public bool IsDirty => RequestedColor.HasValue;
public bool IsDirty => RequestedColor.HasValue && (RequestedColor != InternalColor);
private Color? _requestedColor;
/// <summary>